接口 LocaleContext
- 所有已知子接口:
TimeZoneAwareLocaleContext
public interface LocaleContext
Strategy interface for determining the current Locale.
A LocaleContext instance can be associated with a thread via the LocaleContextHolder class.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller
- 另请参阅:
-
方法概要
-
方法详细资料
-
getLocale
Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy.- 返回:
- the current Locale, or
nullif no specific Locale associated
-