public class LocaleConfig extends SafeConfig
Locale to be configured.| Modifier and Type | Field and Description |
|---|---|
static Locale |
DEFAULT_LOCALE
The default
Locale to be used when none is specified. |
LOCK_CONFIG_KEY, OLD_LOCK_CONFIG_KEY, SAFE_MODE_KEY| Constructor and Description |
|---|
LocaleConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(ValueParser values)
Does the actual configuration.
|
Locale |
getLocale()
This returns the configured default
Locale for this tool. |
protected void |
setLocale(Locale locale)
Sets the default locale for this instance.
|
configure, isConfigLocked, isSafeMode, setLockConfig, setSafeModeprotected void configure(ValueParser values)
configure in class SafeConfigpublic Locale getLocale()
Locale for this tool.Localeprotected void setLocale(Locale locale)
Copyright © 2002–2023 Apache Software Foundation. All rights reserved.