com.atlassian.confluence.util.i18n
Class DefaultI18NBeanFactory
java.lang.Object
com.atlassian.confluence.util.i18n.DefaultI18NBeanFactory
- All Implemented Interfaces:
- I18NBeanFactory
public class DefaultI18NBeanFactory
- extends Object
- implements I18NBeanFactory
I18N bean factory which will return a bean for the default locale if
one is not specified
- See Also:
LocaleManager.DEFAULT_LOCALE
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultI18NBeanFactory
public DefaultI18NBeanFactory()
getI18NBean
public I18NBean getI18NBean(Locale locale)
- Specified by:
getI18NBean
in interface I18NBeanFactory
- Parameters:
locale
- locale for i18n
- Returns:
- i18n bean for specified locale
getI18NBean
public I18NBean getI18NBean()
- Specified by:
getI18NBean
in interface I18NBeanFactory
- Returns:
- i18n bean for the system default locale
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setTranslationModeManager
public void setTranslationModeManager(I18nModeManager modeManager)
Copyright © 2003-2012 Atlassian. All Rights Reserved.