|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.i18n.Locales
public final class Locales
Helper class for locale processing.
| Method Summary | |
|---|---|
static Locale |
findBest(String str)
Find locale which best matches the specified requirements. |
static Locale |
findBest(String language,
String country,
String variant)
Find locale which best matches the specified requirements. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Locale findBest(String language,
String country,
String variant)
language - a language namecountry - a countryvariant - a variant
Localepublic static Locale findBest(String str)
str - locale string in the format language_country_variant, language_country or language alone
Locale
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||