com.atlassian.crowd.util
Class I18nHelperImpl
java.lang.Object
com.atlassian.crowd.util.I18nHelperImpl
- All Implemented Interfaces:
- I18nHelper
public class I18nHelperImpl
- extends Object
- implements I18nHelper
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
I18nHelperImpl
public I18nHelperImpl(List<ResourceBundleProvider> providers)
getText
public String getText(String key)
- Specified by:
getText in interface I18nHelper
getText
public String getText(String key,
String value1)
- Specified by:
getText in interface I18nHelper
getText
public String getText(String key,
String value1,
String value2)
- Specified by:
getText in interface I18nHelper
getText
public String getText(String key,
Object parameters)
- Specified by:
getText in interface I18nHelper
getText
public String getText(Locale locale,
String key,
Serializable... arguments)
- Specified by:
getText in interface I18nHelper
getUnescapedText
public String getUnescapedText(String key)
- Get the raw property value, complete with {0}'s.
- Specified by:
getUnescapedText in interface I18nHelper
- 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
getAllTranslationsForPrefix
public Map<String,String> getAllTranslationsForPrefix(String prefix)
- Specified by:
getAllTranslationsForPrefix in interface I18nHelper
Copyright © 2016 Atlassian. All Rights Reserved.