com.atlassian.bamboo.sal.message
Class BambooI18nResolver
java.lang.Object
com.atlassian.bamboo.sal.message.BambooI18nResolver
- All Implemented Interfaces:
- com.atlassian.sal.api.message.I18nResolver
public class BambooI18nResolver
- extends java.lang.Object
- implements com.atlassian.sal.api.message.I18nResolver
TODO force OSGi to load properly i18nResolver component exported by atlassian-bamboo-sal-message plugin and remove this class
Method Summary |
com.atlassian.sal.api.message.Message |
createMessage(java.lang.String key,
java.io.Serializable... arguments)
|
com.atlassian.sal.api.message.MessageCollection |
createMessageCollection()
|
java.util.Map<java.lang.String,java.lang.String> |
getAllTranslationsForPrefix(java.lang.String prefix)
|
java.util.Map<java.lang.String,java.lang.String> |
getAllTranslationsForPrefix(java.lang.String prefix,
java.util.Locale locale)
|
java.lang.String |
getRawText(java.lang.String key)
|
java.lang.String |
getText(com.atlassian.sal.api.message.Message message)
|
java.lang.String |
getText(java.lang.String key)
|
java.lang.String |
getText(java.lang.String key,
java.io.Serializable... arguments)
|
java.lang.String |
resolveText(java.lang.String key,
java.io.Serializable[] arguments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BambooI18nResolver
public BambooI18nResolver(I18nBeanFactory i18nBeanFactory)
getText
public java.lang.String getText(java.lang.String key,
java.io.Serializable... arguments)
- Specified by:
getText
in interface com.atlassian.sal.api.message.I18nResolver
getText
public java.lang.String getText(java.lang.String key)
- Specified by:
getText
in interface com.atlassian.sal.api.message.I18nResolver
getText
public java.lang.String getText(com.atlassian.sal.api.message.Message message)
- Specified by:
getText
in interface com.atlassian.sal.api.message.I18nResolver
createMessage
public com.atlassian.sal.api.message.Message createMessage(java.lang.String key,
java.io.Serializable... arguments)
- Specified by:
createMessage
in interface com.atlassian.sal.api.message.I18nResolver
createMessageCollection
public com.atlassian.sal.api.message.MessageCollection createMessageCollection()
- Specified by:
createMessageCollection
in interface com.atlassian.sal.api.message.I18nResolver
resolveText
public java.lang.String resolveText(java.lang.String key,
java.io.Serializable[] arguments)
getAllTranslationsForPrefix
public java.util.Map<java.lang.String,java.lang.String> getAllTranslationsForPrefix(java.lang.String prefix,
java.util.Locale locale)
- Specified by:
getAllTranslationsForPrefix
in interface com.atlassian.sal.api.message.I18nResolver
getAllTranslationsForPrefix
public java.util.Map<java.lang.String,java.lang.String> getAllTranslationsForPrefix(java.lang.String prefix)
- Specified by:
getAllTranslationsForPrefix
in interface com.atlassian.sal.api.message.I18nResolver
getRawText
public java.lang.String getRawText(java.lang.String key)
- Specified by:
getRawText
in interface com.atlassian.sal.api.message.I18nResolver
Copyright © 2012 Atlassian. All Rights Reserved.