|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.pages.templates.DefaultTemplateI18nHandler
public class DefaultTemplateI18nHandler
TODO - this class and interface really necessary? On the plus side, it abstracts the site-locale decision away from the main TemplateHandler. On the minus side.... this.
Constructor Summary | |
---|---|
DefaultTemplateI18nHandler(I18NBeanFactory i18nBeanFactory,
LocaleManager localeManager)
|
Method Summary | |
---|---|
java.lang.String |
translate(Message message)
Translate a template i18n message to the correct String for the current site language. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTemplateI18nHandler(I18NBeanFactory i18nBeanFactory, LocaleManager localeManager)
Method Detail |
---|
public java.lang.String translate(Message message)
TemplateI18nHandler
translate
in interface TemplateI18nHandler
message
- a Message with key and optional arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |