Package org.apache.tika.parser.pdf
Enum PDFParserConfig.TikaImageType
- java.lang.Object
-
- java.lang.Enum<PDFParserConfig.TikaImageType>
-
- org.apache.tika.parser.pdf.PDFParserConfig.TikaImageType
-
- All Implemented Interfaces:
Serializable
,Comparable<PDFParserConfig.TikaImageType>
- Enclosing class:
- PDFParserConfig
public static enum PDFParserConfig.TikaImageType extends Enum<PDFParserConfig.TikaImageType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.pdfbox.rendering.ImageType
getImageType()
static PDFParserConfig.TikaImageType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PDFParserConfig.TikaImageType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RGB
public static final PDFParserConfig.TikaImageType RGB
-
GRAY
public static final PDFParserConfig.TikaImageType GRAY
-
-
Method Detail
-
values
public static PDFParserConfig.TikaImageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PDFParserConfig.TikaImageType c : PDFParserConfig.TikaImageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PDFParserConfig.TikaImageType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getImageType
public org.apache.pdfbox.rendering.ImageType getImageType()
-
-