LocaleContext interface,
always returning a specified Locale.
LocaleContextHolder#setLocaleContext, LocaleContextHolder#getLocale(), SimpleTimeZoneAwareLocaleContext
| Access | Constructor and Description |
|---|---|
| public | SimpleLocaleContext(Locale
the locale)Locale to expose, or null for no specific oneCreate a new |
| Modifier and Type | Method and Description |
|---|---|
| public Locale | getLocale()
Implements org. Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy. |
| public String |
| locale | back to summary |
|---|---|
| private final Locale locale
| |
| SimpleLocaleContext | back to summary |
|---|---|
| public SimpleLocaleContext(Locale locale) Create a new Every
| |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Implements org. Doc from org. Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |