public static enum ScannerConfig.InverseOcr extends java.lang.Enum<ScannerConfig.InverseOcr>
Example Usage: InverseOcr.REGULAR_ONLY;
| Enum Constant and Description |
|---|
AUTO_DISCRIMINATE
Decodes both regular and inverse OCR strings.
|
INVERSE_ONLY
Decode inverse OCR (white on black) strings only.
|
REGULAR_ONLY
Decode regular OCR (black on white) strings only.
|
| Modifier and Type | Method and Description |
|---|---|
static ScannerConfig.InverseOcr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.InverseOcr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.InverseOcr REGULAR_ONLY
public static final ScannerConfig.InverseOcr INVERSE_ONLY
public static final ScannerConfig.InverseOcr AUTO_DISCRIMINATE
public static ScannerConfig.InverseOcr[] values()
for (ScannerConfig.InverseOcr c : ScannerConfig.InverseOcr.values()) System.out.println(c);
public static ScannerConfig.InverseOcr 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