|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.languages.DefaultLocaleManager
public class DefaultLocaleManager
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.languages.LocaleManager |
---|
DEFAULT_LOCALE |
Constructor Summary | |
---|---|
DefaultLocaleManager()
|
Method Summary | |
---|---|
java.util.Locale |
getLocale(com.atlassian.user.User user)
Returns the user's locale if they have one set in their preferences, otherwise returns the site default locale. |
void |
setSettingsManager(SettingsManager settingsManager)
|
void |
setUserAccessor(UserAccessor userAccessor)
|
java.util.Locale |
toLocale(java.lang.String userLocaleString)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLocaleManager()
Method Detail |
---|
public java.util.Locale getLocale(com.atlassian.user.User user)
getLocale
in interface LocaleManager
public java.util.Locale toLocale(java.lang.String userLocaleString)
toLocale
in interface LocaleManager
public void setSettingsManager(SettingsManager settingsManager)
public void setUserAccessor(UserAccessor userAccessor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |