public static enum APIConstants.LanguagePreference extends java.lang.Enum<APIConstants.LanguagePreference>
Enum Constant and Description |
---|
CHINESE |
ENGLISH |
FRENCH |
GERMAN |
HEBREW |
PORTUGESE |
RUSSIAN |
SPANISH |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static APIConstants.LanguagePreference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIConstants.LanguagePreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIConstants.LanguagePreference ENGLISH
public static final APIConstants.LanguagePreference CHINESE
public static final APIConstants.LanguagePreference HEBREW
public static final APIConstants.LanguagePreference FRENCH
public static final APIConstants.LanguagePreference GERMAN
public static final APIConstants.LanguagePreference RUSSIAN
public static final APIConstants.LanguagePreference SPANISH
public static final APIConstants.LanguagePreference PORTUGESE
public static APIConstants.LanguagePreference[] values()
for (APIConstants.LanguagePreference c : APIConstants.LanguagePreference.values()) System.out.println(c);
public static APIConstants.LanguagePreference 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 toString()
toString
in class java.lang.Enum<APIConstants.LanguagePreference>