Class AutoDetectParserConfig

java.lang.Object
org.apache.tika.parser.AutoDetectParserConfig
All Implemented Interfaces:
Serializable

public class AutoDetectParserConfig extends Object implements 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 Details

  • Constructor Details

    • AutoDetectParserConfig

      public AutoDetectParserConfig()
  • Method Details

    • setContentHandlerDecoratorFactory

      public void setContentHandlerDecoratorFactory(ContentHandlerDecoratorFactory contentHandlerDecoratorFactory)
    • getContentHandlerDecoratorFactory

      public ContentHandlerDecoratorFactory getContentHandlerDecoratorFactory()
    • setThrowOnZeroBytes

      public void setThrowOnZeroBytes(boolean throwOnZeroBytes)
    • getThrowOnZeroBytes

      public boolean getThrowOnZeroBytes()
    • toString

      public String toString()
      Overrides:
      toString in class Object