Package org.apache.tika.parser
Class AutoDetectParserFactory
- java.lang.Object
-
- org.apache.tika.parser.ParserFactory
-
- org.apache.tika.parser.AutoDetectParserFactory
-
public class AutoDetectParserFactory extends ParserFactory
Factory for an AutoDetectParser
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TIKA_CONFIG_PATH
Path to a tika-config file.
-
Constructor Summary
Constructors Constructor Description AutoDetectParserFactory(java.util.Map<java.lang.String,java.lang.String> args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parser
build()
-
-
-
Field Detail
-
TIKA_CONFIG_PATH
public static final java.lang.String TIKA_CONFIG_PATH
Path to a tika-config file. This must be a literal file or findable on the classpath.- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public Parser build() throws java.io.IOException, org.xml.sax.SAXException, TikaException
- Specified by:
build
in classParserFactory
- Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException
-
-