Enum Class OcrDocumentType
- All Implemented Interfaces:
Serializable
,Comparable<OcrDocumentType>
,Constable
Available OCR document types. Every OCR document type has specific set of characters and
settings for ocr engine.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSupports the recognition of Arabic-Indic numerals and punctuation marks used in amounts.Supports latin alphabet, numbers, punctuation marks, currency symbols and common country specific characters for large number of commonly used fonts.Supports the recognition of MICR (Magnetic Ink Character Recognition) font characters which are used mainly by the banking industry. -
Method Summary
Modifier and TypeMethodDescriptionstatic OcrDocumentType
Returns the enum constant of this class with the specified name.static OcrDocumentType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OCR_DOCUMENT_TYPE_GENERIC
Supports latin alphabet, numbers, punctuation marks, currency symbols and common country specific characters for large number of commonly used fonts. This document type should be used in most cases. -
OCR_DOCUMENT_TYPE_MICR
Supports the recognition of MICR (Magnetic Ink Character Recognition) font characters which are used mainly by the banking industry. -
OCR_DOCUMENT_TYPE_ARABIC
Supports the recognition of Arabic-Indic numerals and punctuation marks used in amounts.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-