public static enum I18n.FHAESLocale extends java.lang.Enum<I18n.FHAESLocale>
Enum Constant and Description |
---|
DUTCH |
ENGLISH_PROPER |
ENGLISH_US |
FRENCH |
GERMAN |
POLISH |
TURKISH |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
country |
private java.lang.String |
language |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCountryCode()
Get the ISO country code for this locale
|
javax.swing.Icon |
getFlag()
Get the flag image representing this locale
|
java.lang.String |
getLanguageCode()
Get the ISO language code for this locale
|
java.util.Locale |
getLocale()
Get the FHAESLocale as a Locale
|
java.lang.String |
getName()
Get the human readable friendly name for this locale
|
java.lang.String |
toString()
Get the human readable friendly name for this locale
|
static I18n.FHAESLocale |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static I18n.FHAESLocale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final I18n.FHAESLocale GERMAN
public static final I18n.FHAESLocale ENGLISH_PROPER
public static final I18n.FHAESLocale ENGLISH_US
public static final I18n.FHAESLocale FRENCH
public static final I18n.FHAESLocale DUTCH
public static final I18n.FHAESLocale POLISH
public static final I18n.FHAESLocale TURKISH
private java.lang.String country
private java.lang.String language
private java.lang.String name
public static I18n.FHAESLocale[] values()
for (I18n.FHAESLocale c : I18n.FHAESLocale.values()) System.out.println(c);
public static I18n.FHAESLocale valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<I18n.FHAESLocale>
getName()
public java.lang.String getCountryCode()
public java.lang.String getLanguageCode()
public java.util.Locale getLocale()
public javax.swing.Icon getFlag()