Class I18N
java.lang.Object
net.sourceforge.jbizmo.commons.i18n.I18N
Utility class for the translation of text fragments
Copyright 2017 (C) by Martin Ganserer
- Version:
- 1.0.0
- Author:
- Martin Ganserer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetTranslation(ResourceBundle resourceBoundle, String key, Object... params) static StringgetTranslationForFieldLabel(ResourceBundle resourceBoundle, String key)
-
Field Details
-
LABEL_SEPARATOR
- See Also:
-
-
Method Details
-
getTranslation
- Parameters:
resourceBoundle-key-params-- Returns:
- the translation text from the given resource bundle by using the given key
-
getTranslationForFieldLabel
- Parameters:
resourceBoundle-key-- Returns:
- the translation for a field label from the given resource bundle by using the given key
-