Package com.geniusscansdk.scanflow
Enum Class ScanConfiguration.OcrOutputFormat
java.lang.Object
java.lang.Enum<ScanConfiguration.OcrOutputFormat>
com.geniusscansdk.scanflow.ScanConfiguration.OcrOutputFormat
- All Implemented Interfaces:
Serializable
,Comparable<ScanConfiguration.OcrOutputFormat>
,java.lang.constant.Constable
- Enclosing class:
- ScanConfiguration
public static enum ScanConfiguration.OcrOutputFormat
extends Enum<ScanConfiguration.OcrOutputFormat>
The various formats into which the OCR result can be made available.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOutput OCR result in HOCR formatOutput OCR result as raw textAdd OCR result as a text layer in the generated PDF file (if any) -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ScanConfiguration.OcrOutputFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RAW_TEXT
Output OCR result as raw text -
HOCR
Output OCR result in HOCR format -
TEXT_LAYER_IN_PDF
Add OCR result as a text layer in the generated PDF file (if any)
-
-
Field Details
-
ALL
-
-
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
-
fromCodes
-