Package com.atlassian.crowd.util
Class I18nHelperImpl
java.lang.Object
com.atlassian.crowd.util.I18nHelperImpl
- All Implemented Interfaces:
I18nHelper
-
Constructor Summary
ConstructorsConstructorDescriptionI18nHelperImpl(List<ResourceBundleProvider> providers) I18nHelperImpl(List<ResourceBundleProvider> providers, boolean fallbackToKey) -
Method Summary
Modifier and TypeMethodDescriptiongetAllTranslationsForPrefix(String prefix) getText(Locale locale, String key, Serializable... arguments) getUnescapedText(String key) Get the raw property value, complete with {0}'s.getUnescapedText(Locale locale, String key)
-
Constructor Details
-
I18nHelperImpl
-
I18nHelperImpl
-
-
Method Details
-
getText
- Specified by:
getTextin interfaceI18nHelper
-
getText
- Specified by:
getTextin interfaceI18nHelper
-
getText
- Specified by:
getTextin interfaceI18nHelper
-
getText
- Specified by:
getTextin interfaceI18nHelper
-
getText
- Specified by:
getTextin interfaceI18nHelper
-
getUnescapedText
Get the raw property value, complete with {0}'s.- Specified by:
getUnescapedTextin interfaceI18nHelper- Parameters:
key- Non-null key to look up- Returns:
- Unescaped property value for the key, or the key itself if no property with the specified key is found
-
getUnescapedText
- Specified by:
getUnescapedTextin interfaceI18nHelper
-
getAllTranslationsForPrefix
- Specified by:
getAllTranslationsForPrefixin interfaceI18nHelper
-