|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Localizer
An interface to localizers capable of resolving localized resources.
| Field Summary | |
|---|---|
static String |
ANY_NAME
The wildcard. |
| Method Summary | |
|---|---|
Object |
resolveLocalizedObject(String name,
String key)
Resolves a localized object for the qualified name and key. |
Object |
resolveLocalizedObject(String name,
String key,
Locale locale)
Resolves a localized object for the qualified name, key and locale. |
Object |
resolveLocalizedResource(String name,
String key)
Resolves a localized resource for the qualified name and key. |
Object |
resolveLocalizedResource(String name,
String key,
Locale locale)
Resolves a localized resource for the qualified name, key and locale. |
String |
resolveLocalizedString(String name,
String key)
Resolves a localized string for the qualified name and key. |
String |
resolveLocalizedString(String name,
String key,
Locale locale)
Resolves a localized string for the qualified name, key and locale. |
String[] |
resolveLocalizedStrings(String name,
String key)
Resolves a localized string array for the qualified name and key. |
String[] |
resolveLocalizedStrings(String name,
String key,
Locale locale)
Resolves a localized string array for the qualified name, key and locale. |
| Field Detail |
|---|
static final String ANY_NAME
| Method Detail |
|---|
Object resolveLocalizedResource(String name,
String key)
If the qualified name is a wildcard "*", the first mapped resource regardless of its package is returned.
name - the qualified name.key - the resource key.
Object resolveLocalizedResource(String name,
String key,
Locale locale)
If the qualified name is a wildcard "*", the first mapped resource regardless of its package is returned.
name - the qualified name.key - the resource key.locale - the locale.
Object resolveLocalizedObject(String name,
String key)
name - the qualified name.key - the resource key.
Object resolveLocalizedObject(String name,
String key,
Locale locale)
name - the qualified name.key - the resource key.locale - the locale.
String resolveLocalizedString(String name,
String key)
name - the qualified name.key - the resource key.
String resolveLocalizedString(String name,
String key,
Locale locale)
name - the qualified name.key - the resource key.locale - the locale.
String[] resolveLocalizedStrings(String name,
String key)
name - the qualified name.key - the resource key.
String[] resolveLocalizedStrings(String name,
String key,
Locale locale)
name - the qualified name.key - the resource key.locale - the locale.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||