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
Modifier and TypeMethodDescriptiongetMessage
(String key, com.ibm.icu.util.ULocale locale) Returns the localized message given the resource key and given locale.getMessage
(String key, Locale locale) Deprecated.to support ICU4J, replaced by : getMessage(String key, ULocale lcoale)
-
Method Details
-
getMessage
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
Returns the localized message given the resource key and given locale.- Parameters:
key
- the resource keylocale
- the locale of typeULocale
- Returns:
- the localized message
-