public abstract class AbstractLocaleResolver extends java.lang.Object implements LocaleResolver
LocaleResolver
implementations.
Provides support for a default locale.setDefaultLocale(java.util.Locale)
Constructor and Description |
---|
AbstractLocaleResolver() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveLocale, setLocale
public void setDefaultLocale(java.util.Locale defaultLocale)
protected java.util.Locale getDefaultLocale()