Class TikaParserConfig
java.lang.Object
com.norconex.importer.handler.BaseLabelableConfig
com.norconex.importer.handler.BaseDocHandlerConfig
com.norconex.importer.handler.parser.impl.TikaParserConfig
- All Implemented Interfaces:
Labelable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintMaximum number of top-level documents this handler parses at once.The path to a Tika JSON configuration file (Tika 4 no longer supports XML).inthashCode()setPoolSize(int poolSize) setTikaConfigFile(String tikaConfigFile) The path to a Tika JSON configuration file (Tika 4 no longer supports XML).toString()Methods inherited from class com.norconex.importer.handler.BaseLabelableConfig
getLabel, setLabel
-
Constructor Details
-
TikaParserConfig
public TikaParserConfig()
-
-
Method Details
-
setPoolSize
-
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
The path to a Tika JSON configuration file (Tika 4 no longer supports XML). -
setTikaConfigFile
The path to a Tika JSON configuration file (Tika 4 no longer supports XML).- Returns:
this.
-
equals
- Overrides:
equalsin classBaseLabelableConfig
-
canEqual
- Overrides:
canEqualin classBaseLabelableConfig
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseLabelableConfig
-
toString
- Overrides:
toStringin classBaseLabelableConfig
-