org.eclipse.birt.report.model.api.extension
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
 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

getMessage

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 key
locale - 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 key
locale - the locale of type ULocale
Returns:
the localized message


Copyright © 2008 Actuate Corp. All rights reserved.