com.atlassian.sal.confluence.message
Class ConfluenceI18nResolver

java.lang.Object
  extended by com.atlassian.sal.core.message.AbstractI18nResolver
      extended by com.atlassian.sal.confluence.message.ConfluenceI18nResolver
All Implemented Interfaces:
com.atlassian.sal.api.message.I18nResolver

public class ConfluenceI18nResolver
extends com.atlassian.sal.core.message.AbstractI18nResolver


Constructor Summary
ConfluenceI18nResolver()
          Deprecated. use ConfluenceI18nResolver(I18NBeanFactory, LocaleManager)
ConfluenceI18nResolver(I18NBeanFactory i18nBeanFactory, LocaleManager localeManager)
           
 
Method Summary
 Map<String,String> getAllTranslationsForPrefix(String prefix)
           
 Map<String,String> getAllTranslationsForPrefix(String prefix, Locale locale)
           
 String getRawText(String key)
           
 String resolveText(String key, Serializable[] arguments)
           
 void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)
           
 void setLocaleManager(LocaleManager localeManager)
           
 
Methods inherited from class com.atlassian.sal.core.message.AbstractI18nResolver
createMessage, createMessageCollection, getText, getText, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceI18nResolver

public ConfluenceI18nResolver()
Deprecated. use ConfluenceI18nResolver(I18NBeanFactory, LocaleManager)


ConfluenceI18nResolver

public ConfluenceI18nResolver(I18NBeanFactory i18nBeanFactory,
                              LocaleManager localeManager)
Since:
5.0
Method Detail

resolveText

public String resolveText(String key,
                          Serializable[] arguments)
Specified by:
resolveText in class com.atlassian.sal.core.message.AbstractI18nResolver

getRawText

public String getRawText(String key)

setI18NBeanFactory

public void setI18NBeanFactory(I18NBeanFactory i18NBeanFactory)

setLocaleManager

public void setLocaleManager(LocaleManager localeManager)

getAllTranslationsForPrefix

public Map<String,String> getAllTranslationsForPrefix(String prefix,
                                                      Locale locale)

getAllTranslationsForPrefix

public Map<String,String> getAllTranslationsForPrefix(String prefix)


Copyright © 2003-2013 Atlassian. All Rights Reserved.