Interface IMessages
-
public interface IMessages
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.java.lang.String
getMessage(java.lang.String key, java.util.Locale locale)
Deprecated.to support ICU4J, replaced by : getMessage(String key, ULocale lcoale)
-
-
-
Method Detail
-
getMessage
@Deprecated java.lang.String getMessage(java.lang.String key, java.util.Locale locale)
Deprecated.to support ICU4J, replaced by : getMessage(String key, ULocale lcoale)Returns the localized message given the resource key and given locale.- Parameters:
key
- the resource keylocale
- the locale- Returns:
- the localized message
-
getMessage
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.- Parameters:
key
- the resource keylocale
- the locale of typeULocale
- Returns:
- the localized message
-
-