|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.web.servlet.i18n.AbstractLocaleResolver
public abstract class AbstractLocaleResolver
Abstract base class for LocaleResolver
implementations.
Provides support for a default locale.
Field Summary | |
---|---|
private java.util.Locale |
defaultLocale
|
Constructor Summary | |
---|---|
AbstractLocaleResolver()
|
Method Summary | |
---|---|
protected java.util.Locale |
getDefaultLocale()
Return the default Locale that this resolver is supposed to fall back to, if any. |
void |
setDefaultLocale(java.util.Locale defaultLocale)
Set a default Locale that this resolver will return if no other locale found. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.web.servlet.LocaleResolver |
---|
resolveLocale, setLocale |
Field Detail |
---|
private java.util.Locale defaultLocale
Constructor Detail |
---|
public AbstractLocaleResolver()
Method Detail |
---|
public void setDefaultLocale(java.util.Locale defaultLocale)
protected java.util.Locale getDefaultLocale()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |