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 String
getFormattedString
(String key, Object... arguments) Returns formatted translation for current local.static String
getFormattedString
(String key, Object[] arguments, Locale locale) Returns formatted translation for current local.static ResourceBundle
Returns the resource bundle.static ResourceBundle
getReportResourceBundle
(Locale locale) Returns the resource bundle.static String
Returns common translation for current local.static String
Returns 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.
-