public enum OCPLanguage extends Enum<OCPLanguage>
Enum Constant and Description |
---|
Arabic
Display text in Arabic.
|
Chinese
Display text in Chinese.
|
English
Display text in English.
|
French
Display text in French.
|
German
Display text in German.
|
Italian
Display text in Italian.
|
Polish
Display text in Polish.
|
Portuguese
Display text in Portuguese.
|
Russian
Display text in Russian.
|
Spanish
Display text in Spanish.
|
Modifier and Type | Method and Description |
---|---|
static OCPLanguage |
fromString(String text)
Returns the OCPLanguage enumeration for the specified text or null if no enumeration matches the specified text.
|
String |
getText()
Returns the string representation of the OCPLanguage enumeration member.
|
int |
getValue()
Returns the integer representation of the OCPLanguage enumeration member.
|
static OCPLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OCPLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OCPLanguage English
public static final OCPLanguage French
public static final OCPLanguage Spanish
public static final OCPLanguage German
public static final OCPLanguage Portuguese
public static final OCPLanguage Italian
public static final OCPLanguage Polish
public static final OCPLanguage Russian
public static final OCPLanguage Chinese
public static final OCPLanguage Arabic
public static OCPLanguage[] values()
for (OCPLanguage c : OCPLanguage.values()) System.out.println(c);
public static OCPLanguage valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
public String getText()
public static OCPLanguage fromString(String text)
text
- text representation of the specified enumeration member.
© 2016 ZIH Corp. All Rights Reserved.