Package org.apache.tika.pipes
Class HandlerConfig
- java.lang.Object
-
- org.apache.tika.pipes.HandlerConfig
-
- All Implemented Interfaces:
Serializable
public class HandlerConfig extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HandlerConfig.PARSE_MODE
HandlerConfig.PARSE_MODE.RMETA
"recursive metadata" is the same as the -J option in tika-app and the /rmeta endpoint in tika-server.
-
Field Summary
Fields Modifier and Type Field Description static HandlerConfig
DEFAULT_HANDLER_CONFIG
-
Constructor Summary
Constructors Constructor Description HandlerConfig(BasicContentHandlerFactory.HANDLER_TYPE type, HandlerConfig.PARSE_MODE parseMode, int writeLimit, int maxEmbeddedResources, boolean throwOnWriteLimitReached)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getMaxEmbeddedResources()
HandlerConfig.PARSE_MODE
getParseMode()
BasicContentHandlerFactory.HANDLER_TYPE
getType()
int
getWriteLimit()
int
hashCode()
boolean
isThrowOnWriteLimitReached()
String
toString()
-
-
-
Field Detail
-
DEFAULT_HANDLER_CONFIG
public static final HandlerConfig DEFAULT_HANDLER_CONFIG
-
-
Constructor Detail
-
HandlerConfig
public HandlerConfig(BasicContentHandlerFactory.HANDLER_TYPE type, HandlerConfig.PARSE_MODE parseMode, int writeLimit, int maxEmbeddedResources, boolean throwOnWriteLimitReached)
-
-
Method Detail
-
getType
public BasicContentHandlerFactory.HANDLER_TYPE getType()
-
getWriteLimit
public int getWriteLimit()
-
getMaxEmbeddedResources
public int getMaxEmbeddedResources()
-
getParseMode
public HandlerConfig.PARSE_MODE getParseMode()
-
isThrowOnWriteLimitReached
public boolean isThrowOnWriteLimitReached()
-
-