Package org.apache.tika.parser.external
Class ExternalParsersConfigReader
java.lang.Object
org.apache.tika.parser.external.ExternalParsersConfigReader
- All Implemented Interfaces:
ExternalParsersConfigReaderMetKeys
public final class ExternalParsersConfigReader
extends Object
implements ExternalParsersConfigReaderMetKeys
Builds up ExternalParser instances based on XML file(s)
which define what to run, for what, and how to process
any output metadata.
Typically used to configure up a series of external programs
(like catdoc or pdf2txt) to extract text content from documents.
TODO XML DTD Here
-
Field Summary
Fields inherited from interface org.apache.tika.parser.external.ExternalParsersConfigReaderMetKeys
CHECK_TAG, COMMAND_TAG, ERROR_CODES_TAG, EXTERNAL_PARSERS_TAG, METADATA_KEY_ATTR, METADATA_MATCH_TAG, METADATA_TAG, MIMETYPE_TAG, MIMETYPES_TAG, PARSER_TAG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ExternalParser>
read
(InputStream stream) static List<ExternalParser>
static List<ExternalParser>
-
Constructor Details
-
ExternalParsersConfigReader
public ExternalParsersConfigReader()
-
-
Method Details
-
read
- Throws:
TikaException
IOException
-
read
- Throws:
TikaException
IOException
-
read
- Throws:
TikaException
IOException
-