org.apache.tika.parser.external
Class ExternalParsersFactory
java.lang.Object
org.apache.tika.parser.external.ExternalParsersFactory
public class ExternalParsersFactory
- extends java.lang.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 java.util.List<ExternalParser> create()
throws java.io.IOException,
TikaException
- Throws:
java.io.IOException
TikaException
create
public static java.util.List<ExternalParser> create(ServiceLoader loader)
throws java.io.IOException,
TikaException
- Throws:
java.io.IOException
TikaException
create
public static java.util.List<ExternalParser> create(java.lang.String filename,
ServiceLoader loader)
throws java.io.IOException,
TikaException
- Throws:
java.io.IOException
TikaException
create
public static java.util.List<ExternalParser> create(java.net.URL... urls)
throws java.io.IOException,
TikaException
- Throws:
java.io.IOException
TikaException
attachExternalParsers
public static void attachExternalParsers(TikaConfig config)
throws java.io.IOException,
TikaException
- Throws:
java.io.IOException
TikaException
attachExternalParsers
public static void attachExternalParsers(java.util.List<ExternalParser> parsers,
TikaConfig config)
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.