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