Package org.apache.tika.pipes
Enum HandlerConfig.PARSE_MODE
- All Implemented Interfaces:
Serializable
,Comparable<HandlerConfig.PARSE_MODE>
,java.lang.constant.Constable
- Enclosing class:
- HandlerConfig
RMETA
"recursive metadata" is the same as the -J option
in tika-app and the /rmeta endpoint in tika-server. Each embedded file is represented as
its own metadata object.
CONCATENATE
is similar
to the legacy tika-app behavior and the /tika endpoint (accept: application/json) in
tika-server. This concatenates the
contents of embedded files and returns a single metadata object for the file no
matter how many embedded objects there are; this option throws away metadata from
embedded objects and silently skips exceptions in embedded objects.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerConfig.PARSE_MODE
static HandlerConfig.PARSE_MODE
Returns the enum constant of this type with the specified name.static HandlerConfig.PARSE_MODE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RMETA
-
CONCATENATE
-
-
Method Details
-
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
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
-
parseMode
-