public enum OCREngineMode extends java.lang.Enum<OCREngineMode> implements org.bridj.IntValuedEnum<OCREngineMode>
| Enum Constant and Description |
|---|
CUBE_ONLY |
DEFAULT |
TESSERACT_CUBE_COMBINED |
TESSERACT_ONLY |
| Modifier and Type | Field and Description |
|---|---|
long |
value |
| Modifier and Type | Method and Description |
|---|---|
static org.bridj.IntValuedEnum<OCREngineMode> |
fromValue(int value) |
java.util.Iterator<OCREngineMode> |
iterator() |
long |
value() |
static OCREngineMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OCREngineMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OCREngineMode TESSERACT_ONLY
public static final OCREngineMode CUBE_ONLY
public static final OCREngineMode TESSERACT_CUBE_COMBINED
public static final OCREngineMode DEFAULT
public static OCREngineMode[] values()
for (OCREngineMode c : OCREngineMode.values()) System.out.println(c);
public static OCREngineMode 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 long value()
value in interface org.bridj.ValuedEnum<OCREngineMode>public java.util.Iterator<OCREngineMode> iterator()
iterator in interface java.lang.Iterable<OCREngineMode>public static org.bridj.IntValuedEnum<OCREngineMode> fromValue(int value)