public enum RegionType extends Enum<RegionType>
Enum Constant and Description |
---|
BARCODE
Data type is Barcode.
|
OCR
Data type is OCR.
|
OMR
Data type is OCR.
|
PICTURE
Data type is picture.
|
UNKNOWN
Data type is Unknown.
|
Modifier and Type | Method and Description |
---|---|
static RegionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionType UNKNOWN
public static final RegionType OCR
public static final RegionType OMR
public static final RegionType BARCODE
public static final RegionType PICTURE
public static RegionType[] values()
for (RegionType c : RegionType.values()) System.out.println(c);
public static RegionType 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 null