Method Summary |
|
public Object | clone() Answers a new Locale with the same language, country and variant codes as
this Locale. |
public boolean | equals(Object object) Compares the specified object to this Locale and answer if they are
equal. |
static Locale[] | find(String prefix) |
public static Locale[] | getAvailableLocales() Gets the list of installed Locales. |
public String | getCountry() Gets the country code for this Locale. |
public static Locale | getDefault() Gets the default Locale. |
final public String | getDisplayCountry() Gets the full country name in the default Locale for the country code of
this Locale. |
public String | getDisplayCountry(Locale locale) Gets the full country name in the specified Locale for the country code
of this Locale. |
final public String | getDisplayLanguage() Gets the full language name in the default Locale for the language code
of this Locale. |
public String | getDisplayLanguage(Locale locale) Gets the full language name in the specified Locale for the language code
of this Locale. |
final public String | getDisplayName() Gets the full language, country, and variant names in the default Locale
for the codes of this Locale. |
public String | getDisplayName(Locale locale) Gets the full language, country, and variant names in the specified
Locale for the codes of this Locale. |
final public String | getDisplayVariant() Gets the full variant name in the default Locale for the variant code of
this Locale. |
public String | getDisplayVariant(Locale locale) Gets the full variant name in the specified Locale for the variant code
of this Locale. |
public String | getISO3Country() Gets the three letter ISO country code which corresponds to the country
code for this Locale. |
public String | getISO3Language() Gets the three letter ISO language code which corresponds to the language
code for this Locale. |
public static String[] | getISOCountries() Gets the list of two letter ISO country codes which can be used as the
country code for a Locale. |
public static String[] | getISOLanguages() Gets the list of two letter ISO language codes which can be used as the
language code for a Locale. |
public String | getLanguage() Gets the language code for this Locale. |
public String | getVariant() Gets the variant code for this Locale. |
public synchronized int | hashCode() Answers an integer hash code for the receiver. |
public static synchronized void | setDefault(Locale locale) Sets the default Locale to the specified Locale. |
final public String | toString() Answers the string representation of this Locale. |