Class TikaParserConfig

All Implemented Interfaces:
Labelable

public class TikaParserConfig extends BaseDocHandlerConfig
  • Constructor Details

    • TikaParserConfig

      public TikaParserConfig()
  • Method Details

    • setPoolSize

      public TikaParserConfig setPoolSize(int poolSize)
    • getPoolSize

      public int getPoolSize()
      Maximum number of top-level documents this handler parses at once. Zero (the default) sets no limit. All documents share the same Tika parser either way; a limit only makes the extra ones wait.
    • getTikaConfigFile

      public String getTikaConfigFile()
      The path to a Tika JSON configuration file (Tika 4 no longer supports XML).
    • setTikaConfigFile

      public TikaParserConfig setTikaConfigFile(String tikaConfigFile)
      The path to a Tika JSON configuration file (Tika 4 no longer supports XML).
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseLabelableConfig
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class BaseLabelableConfig
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseLabelableConfig
    • toString

      public String toString()
      Overrides:
      toString in class BaseLabelableConfig