public enum CountryCodeFormat extends java.lang.Enum<CountryCodeFormat>
Enum Constant and Description |
---|
English |
German |
Iso2 |
Iso3 |
Native |
PtvAlpha |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static CountryCodeFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CountryCodeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CountryCodeFormat PtvAlpha
public static final CountryCodeFormat Iso2
public static final CountryCodeFormat Iso3
public static final CountryCodeFormat German
public static final CountryCodeFormat English
public static final CountryCodeFormat Native
public static CountryCodeFormat[] values()
for (CountryCodeFormat c : CountryCodeFormat.values()) System.out.println(c);
public static CountryCodeFormat 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 int getId()