public class I18nManager extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Locale |
locale |
protected org.springframework.context.MessageSource |
messageSource |
Constructor and Description |
---|
I18nManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkLocale() |
String |
getMessage(String key) |
String |
getMessage(String key,
Object... arguments) |
void |
setLocale(Locale locale) |
void |
setMessageSource(org.springframework.context.MessageSource messageSource) |
protected org.springframework.context.MessageSource messageSource
protected Locale locale
public void setLocale(Locale locale)
protected void checkLocale()
public void setMessageSource(org.springframework.context.MessageSource messageSource)
Copyright © 2016 Alfresco. All rights reserved.