Package org.eclipse.birt.core.i18n
Class CoreMessages
java.lang.Object
org.eclipse.birt.core.i18n.CoreMessages
This class deals with the translation with the given key.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetFormattedString(String key, Object... arguments) Returns formatted translation for current local.static StringgetFormattedString(String key, Object[] arguments, Locale locale) Returns formatted translation for current local.static ResourceBundleReturns the resource bundle.static ResourceBundlegetReportResourceBundle(Locale locale) Returns the resource bundle.static StringReturns common translation for current local.static StringReturns common translation for current local.
-
Method Details
-
getReportResourceBundle
Returns the resource bundle.- Returns:
- the resource bundle.
-
getReportResourceBundle
Returns the resource bundle.- Returns:
- the resource bundle.
-
getString
Returns common translation for current local.- Parameters:
key- the key to translate.- Returns:
- translated value string.
-
getString
Returns common translation for current local.- Parameters:
key- the key to translate.- Returns:
- translated value string.
-
getFormattedString
Returns formatted translation for current local.- Parameters:
key- the key to translate.- Returns:
- translated value string.
-
getFormattedString
Returns formatted translation for current local.- Parameters:
key- the key to translate.- Returns:
- translated value string.
-