类 AbstractLocaleResolver
java.lang.Object
cn.taketoday.web.i18n.AbstractLocaleResolver
- 所有已实现的接口:
LocaleResolver
- 直接已知子类:
AbstractLocaleContextResolver
Abstract base class for
LocaleResolver implementations.
Provides support for a default locale.- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
- 另请参阅:
-
字段概要
字段从接口继承的字段 cn.taketoday.web.LocaleResolver
BEAN_NAME -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected LocaleReturn the default Locale that this resolver is supposed to fall back to, if any.voidsetDefaultLocale(Locale defaultLocale) Set a default Locale that this resolver will return if no other locale found.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.web.LocaleResolver
resolveLocale, setLocale
-
字段详细资料
-
defaultLocale
-
-
构造器详细资料
-
AbstractLocaleResolver
public AbstractLocaleResolver()
-
-
方法详细资料
-
setDefaultLocale
Set a default Locale that this resolver will return if no other locale found. -
getDefaultLocale
Return the default Locale that this resolver is supposed to fall back to, if any.
-