public enum OCRLanguage extends java.lang.Enum<OCRLanguage>
Enum Constant and Description |
---|
AUTO
Automatically select language.
|
CHINESE
Chinese language.
|
CHINESE_TRAD
Chinese language (traditional).
|
DEVANAGARI
Devanagari language.
|
ENGLISH
English language.
|
JAPANESE
Japanese language.
|
KOREAN
Korean language.
|
LATIN
Latin language.
|
UNKNOWN
Unknown language.
|
Modifier and Type | Method and Description |
---|---|
static OCRLanguage |
fromInt(int value) |
int |
getValue() |
static OCRLanguage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OCRLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OCRLanguage UNKNOWN
public static final OCRLanguage CHINESE
public static final OCRLanguage CHINESE_TRAD
public static final OCRLanguage ENGLISH
public static final OCRLanguage KOREAN
public static final OCRLanguage JAPANESE
public static final OCRLanguage LATIN
public static final OCRLanguage DEVANAGARI
public static final OCRLanguage AUTO
public static OCRLanguage[] values()
for (OCRLanguage c : OCRLanguage.values()) System.out.println(c);
public static OCRLanguage 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 getValue()
public static OCRLanguage fromInt(int value)