|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResourceLoader
The root interface for classes that provide access to localized resources.
| Method Summary | |
|---|---|
Locale |
getDefaultLocale()
The default locale to be used when locating resources. |
String |
getString(String key)
Gets a string for the given key. |
String |
getString(String key,
Locale locale)
Gets a string for the given key and locale. |
String |
getString(String key,
Locale locale,
Object[] arguments)
Gets a parameterized string for the given key and locale and substitutes the parameters using the passed array of arguments. |
String |
getString(String key,
Object[] arguments)
Gets a parameterized string for the given key and substitutes the parameters using the passed array of arguments. |
void |
init(Map properties)
Initializes the ResourceLoader using the specified properties. |
void |
setDefaultLocale(Locale locale)
Sets the default locale to be used when locating resources. |
void |
setDefaultLocale(String locale)
Sets the default locale to be used when locating resources. |
| Method Detail |
|---|
void init(Map properties)
ResourceLoader using the specified properties.
properties - The initialization properties.void setDefaultLocale(String locale)
locale - The default locale to be used.void setDefaultLocale(Locale locale)
locale - The default locale to be used.Locale getDefaultLocale()
String getString(String key)
key - The key for the target string.
String getString(String key,
Object[] arguments)
key - The key for the target string.arguments - The arguments to substitute into the parameterized string.
IllegalArgumentException - If the parameterized string is invalid,
or if an argument in the arguments array
is not of the type expected by the format element(s)
that use it.
String getString(String key,
Locale locale)
key - The key for the target string.locale - The target locale for the string.
String getString(String key,
Locale locale,
Object[] arguments)
key - The key for the target string.locale - The target locale for the string.arguments - The arguments to substitute into the parameterized string.
IllegalArgumentException - If the parameterized string is invalid,
or if an argument in the arguments array
is not of the type expected by the format element(s)
that use it.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/util/ResourceLoader.html