|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
This interface must be implemented by the classes which must provide a way to override the default locale.
メソッドの概要 | |
String |
formatMessage(String key,
Object[] args)
Creates and returns a localized message, given the key of the message in the resource bundle and the message parameters. |
Locale |
getLocale()
Returns the current locale or null if the locale currently used is the default one. |
void |
setLocale(Locale l)
Provides a way to the user to specify a locale which override the default one. |
メソッドの詳細 |
public void setLocale(Locale l)
l
- The locale to set.public Locale getLocale()
public String formatMessage(String key, Object[] args) throws MissingResourceException
key
- The key used to retreive the message from the resource bundle.args
- The objects that compose the message.
MissingResourceException
- if the key is not in the bundle.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |