Package org.apache.tika.parser.pdf
Enum Class MarkedContentConfig.Strategy
java.lang.Object
java.lang.Enum<MarkedContentConfig.Strategy>
org.apache.tika.parser.pdf.MarkedContentConfig.Strategy
- All Implemented Interfaces:
Serializable,Comparable<MarkedContentConfig.Strategy>,Constable
- Enclosing class:
MarkedContentConfig
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkedContentConfig.StrategyReturns the enum constant of this class with the specified name.static MarkedContentConfig.Strategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
Structure tags on the pages that pass the per-page gate; the text stripper elsewhere. -
TAGS
Structure tags on every page that has any; only pages with no tagged text fall back. -
NONE
The text stripper only.
-
-
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
-