|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.languages.DefaultLocaleManager com.atlassian.confluence.it.TestingLocaleManager
public class TestingLocaleManager
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.languages.LocaleManager |
---|
DEFAULT_LOCALE |
Constructor Summary | |
---|---|
TestingLocaleManager()
|
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. |
Methods inherited from class com.atlassian.confluence.languages.DefaultLocaleManager |
---|
afterPropertiesSet, getSiteDefaultLocale, getUserAccessor, setCacheManager, setLanguage, setLanguageManager, setRequestLanguages, setSettingsManager, setUserAccessorSupplier, toLocale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestingLocaleManager()
Method Detail |
---|
public java.util.Locale getLocale(com.atlassian.user.User user)
DefaultLocaleManager
getLocale
in interface LocaleManager
getLocale
in class DefaultLocaleManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |