Package com.evolveum.midpoint.common
Class AvailableLocale
java.lang.Object
com.evolveum.midpoint.common.AvailableLocale
Reads files:
 * localization/locale.properties from classpath
 * locale.properties from _midpoint.home_
 Loads available locales, format of properties is:
 .name=
 .flag=      # used for css of flag
 .default=true
 e.g.
 en.name=English
 en.flag=en
 en.default=true
 where default key is optional, and it's default locale used for midpoint.
 If not specified    
Locale.getDefault() is used- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleancontainsLocale(Locale locale) static LocalegetBestMatchingLocale(Locale target) static Locale
- 
Field Details- 
AVAILABLE_LOCALES
 
- 
- 
Constructor Details- 
AvailableLocalepublic AvailableLocale()
 
- 
- 
Method Details- 
containsLocale
- 
getBestMatchingLocale
- 
getDefaultLocale
 
-