public enum OcrBlock extends Enum<OcrBlock>
| Enum Constant and Description |
|---|
BLOCK |
LINE |
PAGE |
PARAGRAPH |
SECTION |
WORD |
| Modifier and Type | Method and Description |
|---|---|
static OcrBlock |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OcrBlock[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OcrBlock PAGE
public static final OcrBlock BLOCK
public static final OcrBlock SECTION
public static final OcrBlock PARAGRAPH
public static final OcrBlock LINE
public static final OcrBlock WORD
public static OcrBlock[] values()
for (OcrBlock c : OcrBlock.values()) System.out.println(c);
public static OcrBlock 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 nullCopyright © 2019. All rights reserved.