public static enum Ocr.PageType extends Enum<Ocr.PageType>
| Enum Constant and Description |
|---|
AUTO |
SCATTERED |
SINGLE_BLOCK |
SINGLE_CHAR |
SINGLE_COLUMN |
SINGLE_LINE |
SINGLE_WORD |
| Modifier and Type | Method and Description |
|---|---|
static Ocr.PageType |
parse(String s) |
String |
toString() |
static Ocr.PageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ocr.PageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ocr.PageType AUTO
public static final Ocr.PageType SINGLE_BLOCK
public static final Ocr.PageType SINGLE_COLUMN
public static final Ocr.PageType SINGLE_LINE
public static final Ocr.PageType SINGLE_WORD
public static final Ocr.PageType SINGLE_CHAR
public static final Ocr.PageType SCATTERED
public static Ocr.PageType[] values()
for (Ocr.PageType c : Ocr.PageType.values()) System.out.println(c);
public static Ocr.PageType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<Ocr.PageType>public static Ocr.PageType parse(String s)
Copyright © 2015. All Rights Reserved.