public static enum ScannerConfig.OcrLines extends java.lang.Enum<ScannerConfig.OcrLines>
Example Usage: OcrLines.ONE_LINE;
Enum Constant and Description |
---|
ONE_LINE
OCR 1 Line.
|
THREE_LINES
OCR 3 Lines.
|
TWO_LINES
OCR 2 Lines.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.OcrLines |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.OcrLines[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.OcrLines ONE_LINE
public static final ScannerConfig.OcrLines TWO_LINES
public static final ScannerConfig.OcrLines THREE_LINES
public static ScannerConfig.OcrLines[] values()
for (ScannerConfig.OcrLines c : ScannerConfig.OcrLines.values()) System.out.println(c);
public static ScannerConfig.OcrLines 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 null