com.atlassian.sal.core.message
Class SystemDefaultLocaleResolver

java.lang.Object
  extended by com.atlassian.sal.core.message.SystemDefaultLocaleResolver
All Implemented Interfaces:
LocaleResolver

public class SystemDefaultLocaleResolver
extends Object
implements LocaleResolver

Simple resolver that only supports the system default locale.

Since:
2.2.0

Constructor Summary
SystemDefaultLocaleResolver()
           
 
Method Summary
 Locale getLocale()
           
 Locale getLocale(javax.servlet.http.HttpServletRequest request)
           
 Set<Locale> getSupportedLocales()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemDefaultLocaleResolver

public SystemDefaultLocaleResolver()
Method Detail

getLocale

public Locale getLocale(javax.servlet.http.HttpServletRequest request)
Specified by:
getLocale in interface LocaleResolver

getLocale

public Locale getLocale()
Specified by:
getLocale in interface LocaleResolver

getSupportedLocales

public Set<Locale> getSupportedLocales()
Specified by:
getSupportedLocales in interface LocaleResolver


Copyright © 2011 Atlassian. All Rights Reserved.