public static enum PDFParserConfig.OCR_STRATEGY extends Enum<PDFParserConfig.OCR_STRATEGY>
Enum Constant and Description |
---|
NO_OCR |
OCR_AND_TEXT_EXTRACTION |
OCR_ONLY |
Modifier and Type | Method and Description |
---|---|
static PDFParserConfig.OCR_STRATEGY |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PDFParserConfig.OCR_STRATEGY[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PDFParserConfig.OCR_STRATEGY NO_OCR
public static final PDFParserConfig.OCR_STRATEGY OCR_ONLY
public static final PDFParserConfig.OCR_STRATEGY OCR_AND_TEXT_EXTRACTION
public static PDFParserConfig.OCR_STRATEGY[] values()
for (PDFParserConfig.OCR_STRATEGY c : PDFParserConfig.OCR_STRATEGY.values()) System.out.println(c);
public static PDFParserConfig.OCR_STRATEGY 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 nullCopyright © 2007–2017 The Apache Software Foundation. All rights reserved.