Package net.sourceforge.tess4j
Enum ITesseract.RenderedFormat
- java.lang.Object
-
- java.lang.Enum<ITesseract.RenderedFormat>
-
- net.sourceforge.tess4j.ITesseract.RenderedFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ITesseract.RenderedFormat>
,java.lang.constant.Constable
- Enclosing interface:
- ITesseract
public static enum ITesseract.RenderedFormat extends java.lang.Enum<ITesseract.RenderedFormat>
Rendered formats supported by Tesseract.
-
-
Method Summary
Modifier and Type Method Description static ITesseract.RenderedFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ITesseract.RenderedFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final ITesseract.RenderedFormat TEXT
-
HOCR
public static final ITesseract.RenderedFormat HOCR
-
PDF
public static final ITesseract.RenderedFormat PDF
-
UNLV
public static final ITesseract.RenderedFormat UNLV
-
BOX
public static final ITesseract.RenderedFormat BOX
-
ALTO
public static final ITesseract.RenderedFormat ALTO
-
TSV
public static final ITesseract.RenderedFormat TSV
-
LSTMBOX
public static final ITesseract.RenderedFormat LSTMBOX
-
WORDSTRBOX
public static final ITesseract.RenderedFormat WORDSTRBOX
-
-
Method Detail
-
values
public static ITesseract.RenderedFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ITesseract.RenderedFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-