| Modifier and Type | Field and Description |
|---|---|
(package private) Locale |
locale |
(package private) Properties |
props |
| Constructor and Description |
|---|
I18NAdapter(Properties props) |
I18NAdapter(Properties props,
Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key) |
String |
get(String key) |
String |
get(String key,
String defaultVal) |
private boolean |
hasLanguage() |
private boolean |
hasLanguageCountry() |
private boolean |
hasLanguageCountryVariant() |
private String |
prefix() |
void |
put(String key,
String... values) |
void |
setLocale(Locale locale) |
Properties props
Locale locale
public I18NAdapter(Properties props)
public I18NAdapter(Properties props, Locale locale)
public void setLocale(Locale locale)
private String prefix()
private boolean hasLanguageCountryVariant()
private boolean hasLanguageCountry()
private boolean hasLanguage()
public boolean containsKey(String key)
containsKey in interface I18NCopyright © 2011–2018 David R. Smith. All rights reserved.