public class I18nHelperImpl extends Object implements I18nHelper
Constructor and Description |
---|
I18nHelperImpl(I18nHelperConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
String |
getText(String key) |
String |
getText(String key,
Object parameters) |
String |
getText(String key,
String value1) |
String |
getText(String key,
String value1,
String value2) |
String |
getUnescapedText(String key)
Get the raw property value, complete with {0}'s.
|
public I18nHelperImpl(I18nHelperConfiguration configuration)
public String getText(String key)
getText
in interface I18nHelper
key
- i18n key.public String getText(String key, String value1)
getText
in interface I18nHelper
key
- i18n key.value1
- first value to interpolate.public String getText(String key, String value1, String value2)
getText
in interface I18nHelper
key
- i18n key.value1
- first value to interpolate.value2
- second value to interpolate.public String getText(String key, Object parameters)
getText
in interface I18nHelper
key
- i18n key.parameters
- list, object array or value of parameter(s) to interpolate.public String getUnescapedText(String key)
getUnescapedText
in interface I18nHelper
key
- Non-null key to look upCopyright © 2013 Atlassian. All Rights Reserved.