Package org.apache.tika.pipes
Class HandlerConfig
java.lang.Object
org.apache.tika.pipes.HandlerConfig
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
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
-
Constructor Summary
ConstructorDescriptionHandlerConfig
(BasicContentHandlerFactory.HANDLER_TYPE type, HandlerConfig.PARSE_MODE parseMode, int writeLimit, int maxEmbeddedResources, boolean throwOnWriteLimitReached) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getType()
int
int
hashCode()
boolean
void
setMaxEmbeddedResources
(int maxEmbeddedResources) void
setParseMode
(String parseMode) void
setParseMode
(HandlerConfig.PARSE_MODE parseMode) void
setThrowOnWriteLimitReached
(boolean throwOnWriteLimitReached) void
void
void
setWriteLimit
(int writeLimit) toString()
-
Field Details
-
DEFAULT_HANDLER_CONFIG
-
-
Constructor Details
-
HandlerConfig
public HandlerConfig() -
HandlerConfig
public HandlerConfig(BasicContentHandlerFactory.HANDLER_TYPE type, HandlerConfig.PARSE_MODE parseMode, int writeLimit, int maxEmbeddedResources, boolean throwOnWriteLimitReached)
-
-
Method Details
-
getType
-
setType
-
setType
-
getWriteLimit
public int getWriteLimit() -
setWriteLimit
public void setWriteLimit(int writeLimit) -
getMaxEmbeddedResources
public int getMaxEmbeddedResources() -
setMaxEmbeddedResources
public void setMaxEmbeddedResources(int maxEmbeddedResources) -
isThrowOnWriteLimitReached
public boolean isThrowOnWriteLimitReached() -
setThrowOnWriteLimitReached
public void setThrowOnWriteLimitReached(boolean throwOnWriteLimitReached) -
getParseMode
-
setParseMode
-
setParseMode
-
toString
-
equals
-
hashCode
public int hashCode()
-