Class I18nUtilities
java.lang.Object
madkit.i18n.I18nUtilities
Internationalization help class containing only static methods.
- Since:
- MaDKit 5.0.0.10
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The directory where the i18n files are stored. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCGRString
(String community) Returns a string formatted according to the presentation of a CGR location.static String
getCGRString
(String community, String group) Returns a string formatted according to the presentation of a CGR location.static String
getCGRString
(String community, String group, String role) Returns a string formatted according to the presentation of a CGR location.static final ResourceBundle
getResourceBundle
(String baseName) Returns the resource bundle for the given base name.
-
Field Details
-
I18N_DIRECTORY
The directory where the i18n files are stored. By default, it is "madkit/i18n/" of the archive.- See Also:
-
-
Method Details
-
getResourceBundle
Returns the resource bundle for the given base name.- Parameters:
baseName
- the base name of the resource bundle file- Returns:
- the resource bundle for the given base name
-
getCGRString
-
getCGRString
-
getCGRString
-