public class DefaultLocaleSupport extends AbstractConfigurationAware implements LocaleSupport
LocaleSupport implementation.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LOCALE_KEY |
configuration| Constructor and Description |
|---|
DefaultLocaleSupport() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getCurrentLocale() |
Locale |
getCurrentLocale(Mapper mapper)
The caller may supply a
Mapper instance which could be used to
lookup the current locale. |
checkNotInitialized, init, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigurationKeys, initpublic static final String DEFAULT_LOCALE_KEY
public Locale getCurrentLocale()
getCurrentLocale in interface LocaleSupportpublic Locale getCurrentLocale(Mapper mapper)
LocaleSupportMapper instance which could be used to
lookup the current locale.getCurrentLocale in interface LocaleSupportCopyright © 2017. All rights reserved.