AbstractLocaleResolver, FixedLocaleResolver, SessionLocaleResolverpublic interface LocaleResolver
Created: 2016. 3. 13.
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Locale |
resolveLocale(Translet translet) |
Resolve the current locale via the given translet.
|
java.util.TimeZone |
resolveTimeZone(Translet translet) |
Resolve the current timezone via the given translet.
|
void |
setLocale(Translet translet,
java.util.Locale locale) |
Set the current locale to the given one.
|
void |
setTimeZone(Translet translet,
java.util.TimeZone timeZone) |
Set the current timezone to the given one.
|
java.util.Locale resolveLocale(Translet translet)
translet - the translet to resolve the locale fornull)java.util.TimeZone resolveTimeZone(Translet translet)
translet - the translet to resolve the timezone fornull)void setLocale(Translet translet, java.util.Locale locale)
translet - the translet to resolve the locale forlocale - the new locale, or null to clear the localejava.lang.UnsupportedOperationException - if the LocaleResolver implementation does not
support dynamic changing of the localevoid setTimeZone(Translet translet, java.util.TimeZone timeZone)
translet - the translet to resolve the locale fortimeZone - the new timezone, or null to clear the timezonejava.lang.UnsupportedOperationException - if the LocaleResolver implementation does not
support dynamic changing of the timezoneCopyright © 2008–2018 The Aspectran Project. All rights reserved.