Package com.atlassian.sal.bamboo.message
Class BambooI18nResolver
- java.lang.Object
-
- com.atlassian.sal.core.message.AbstractI18nResolver
-
- com.atlassian.sal.bamboo.message.BambooI18nResolver
-
- All Implemented Interfaces:
com.atlassian.sal.api.message.I18nResolver
@Component public class BambooI18nResolver extends com.atlassian.sal.core.message.AbstractI18nResolver
-
-
Constructor Summary
Constructors Constructor Description BambooI18nResolver(I18nBeanFactory i18nBeanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAllTranslationsForPrefix(String prefix)
Map<String,String>
getAllTranslationsForPrefix(String prefix, Locale locale)
@NotNull String
getRawText(String key)
@NotNull String
getRawText(Locale locale, String key)
String
resolveText(String key, Serializable[] arguments)
String
resolveText(Locale locale, String key, Serializable[] arguments)
-
-
-
Constructor Detail
-
BambooI18nResolver
@Autowired public BambooI18nResolver(I18nBeanFactory i18nBeanFactory)
-
-
Method Detail
-
resolveText
public String resolveText(String key, Serializable[] arguments)
- Specified by:
resolveText
in classcom.atlassian.sal.core.message.AbstractI18nResolver
-
resolveText
public String resolveText(Locale locale, String key, Serializable[] arguments)
- Specified by:
resolveText
in classcom.atlassian.sal.core.message.AbstractI18nResolver
-
getAllTranslationsForPrefix
public Map<String,String> getAllTranslationsForPrefix(String prefix, Locale locale)
-
-