Package org.apache.tika.parser
Class AutoDetectParserConfig
java.lang.Object
org.apache.tika.parser.AutoDetectParserConfig
- All Implemented Interfaces:
Serializable
Configuration for AutoDetectParser behavior.
Note: Security limits (zip bomb thresholds, XML depth, etc.) are now configured
via OutputLimits in the ParseContext, not here.
This is a config POJO. It uses standard Jackson deserialization for its primitive fields, but component fields (like contentHandlerDecoratorFactory) use compact format.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetContentHandlerDecoratorFactory(ContentHandlerDecoratorFactory contentHandlerDecoratorFactory) voidsetThrowOnZeroBytes(boolean throwOnZeroBytes) toString()
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
AutoDetectParserConfig
public AutoDetectParserConfig()
-
-
Method Details
-
setContentHandlerDecoratorFactory
public void setContentHandlerDecoratorFactory(ContentHandlerDecoratorFactory contentHandlerDecoratorFactory) -
getContentHandlerDecoratorFactory
-
setThrowOnZeroBytes
public void setThrowOnZeroBytes(boolean throwOnZeroBytes) -
getThrowOnZeroBytes
public boolean getThrowOnZeroBytes() -
toString
-