com.atlassian.sal.confluence.message
Class ConfluenceLocaleResolver
java.lang.Object
com.atlassian.sal.confluence.message.ConfluenceLocaleResolver
- All Implemented Interfaces:
- com.atlassian.sal.api.message.LocaleResolver
public class ConfluenceLocaleResolver
- extends java.lang.Object
- implements com.atlassian.sal.api.message.LocaleResolver
Method Summary |
java.util.Locale |
getLocale()
|
java.util.Locale |
getLocale(javax.servlet.http.HttpServletRequest request)
|
java.util.Locale |
getLocale(com.atlassian.sal.api.user.UserKey userKey)
|
java.util.Set<java.util.Locale> |
getSupportedLocales()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceLocaleResolver
public ConfluenceLocaleResolver(LocaleManager localeManager,
UserAccessor userAccessor,
LanguageManager languageManager)
getLocale
public java.util.Locale getLocale(javax.servlet.http.HttpServletRequest request)
- Specified by:
getLocale
in interface com.atlassian.sal.api.message.LocaleResolver
getLocale
public java.util.Locale getLocale()
- Specified by:
getLocale
in interface com.atlassian.sal.api.message.LocaleResolver
getLocale
public java.util.Locale getLocale(com.atlassian.sal.api.user.UserKey userKey)
-
- Specified by:
getLocale
in interface com.atlassian.sal.api.message.LocaleResolver
- Since:
- 5.2
getSupportedLocales
public java.util.Set<java.util.Locale> getSupportedLocales()
- Specified by:
getSupportedLocales
in interface com.atlassian.sal.api.message.LocaleResolver
Copyright © 2003-2014 Atlassian. All Rights Reserved.