org.apache.tika.parser.external
Class ExternalParsersFactory
java.lang.Object
org.apache.tika.parser.external.ExternalParsersFactory
public class ExternalParsersFactory
- extends Object
Creates instances of ExternalParser based on XML
configuration files.
- See Also:
ExternalParsersConfigReader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalParsersFactory
public ExternalParsersFactory()
create
public static List<ExternalParser> create()
throws IOException,
TikaException
- Throws:
IOException
TikaException
create
public static List<ExternalParser> create(ServiceLoader loader)
throws IOException,
TikaException
- Throws:
IOException
TikaException
create
public static List<ExternalParser> create(String filename,
ServiceLoader loader)
throws IOException,
TikaException
- Throws:
IOException
TikaException
create
public static List<ExternalParser> create(URL... urls)
throws IOException,
TikaException
- Throws:
IOException
TikaException
attachExternalParsers
public static void attachExternalParsers(TikaConfig config)
throws IOException,
TikaException
- Throws:
IOException
TikaException
attachExternalParsers
public static void attachExternalParsers(List<ExternalParser> parsers,
TikaConfig config)
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.