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 String
TIKA_CONFIG_PATH
Path to a tika-config file.
-
Constructor Summary
Constructors Constructor Description AutoDetectParserFactory(Map<String,String> args)
-
-
-
Field Detail
-
TIKA_CONFIG_PATH
public static final 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 IOException, SAXException, TikaException
- Specified by:
build
in classParserFactory
- Throws:
IOException
SAXException
TikaException
-
-