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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalParsersConfigReader
public ExternalParsersConfigReader()
read
public static List<ExternalParser> read(InputStream stream)
throws TikaException,
IOException
- Throws:
TikaException
IOException
read
public static List<ExternalParser> read(Document document)
throws TikaException,
IOException
- Throws:
TikaException
IOException
read
public static List<ExternalParser> read(Element element)
throws TikaException,
IOException
- Throws:
TikaException
IOException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.