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, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConfigurationKeys, init
public static final String DEFAULT_LOCALE_KEY
public Locale getCurrentLocale()
getCurrentLocale
in interface LocaleSupport
public Locale getCurrentLocale(Mapper mapper)
LocaleSupport
Mapper
instance which could be used to
lookup the current locale.getCurrentLocale
in interface LocaleSupport
Copyright © 2017. All rights reserved.