|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for getting localized messages from extension element. The extension element can has its own message file to take the translation from resource key to localized message according to the given locale.
Method Summary | |
java.lang.String |
getMessage(java.lang.String key,
java.util.Locale locale)
Deprecated. to support ICU4J, replaced by : getMessage(String key, ULocale lcoale) |
java.lang.String |
getMessage(java.lang.String key,
com.ibm.icu.util.ULocale locale)
Returns the localized message given the resource key and given locale. |
Method Detail |
public java.lang.String getMessage(java.lang.String key, java.util.Locale locale)
key
- the resource keylocale
- the locale
public java.lang.String getMessage(java.lang.String key, com.ibm.icu.util.ULocale locale)
key
- the resource keylocale
- the locale of type ULocale
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |