public interface LocaleManager
Modifier and Type | Field and Description |
---|---|
static Locale |
ENGLISH |
static Locale |
SPANISH |
Modifier and Type | Method and Description |
---|---|
Locale |
getCurrentLocale() |
Set<Locale> |
getDefaultLocales() |
Locale |
getDefaultSystemLocale() |
Set<Locale> |
getInstalledLocales() |
String |
getLanguageDisplayName(Locale locale) |
Locale[] |
getLocaleAlternatives(Locale locale) |
String |
getLocaleDisplayName(Locale locale) |
Locale |
getNearestLocale(Locale locale) |
File |
getResourcesFolder() |
boolean |
installLocale(Locale locale) |
boolean |
installLocales(URL localesFile) |
void |
setCurrentLocale(Locale locale) |
boolean |
uninstallLocale(Locale locale) |
Locale getDefaultSystemLocale()
Locale getCurrentLocale()
void setCurrentLocale(Locale locale)
boolean installLocale(Locale locale)
boolean uninstallLocale(Locale locale)
boolean installLocales(URL localesFile)
File getResourcesFolder()