Package 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
-
-
Constructor Summary
Constructors Constructor Description ExternalParsersFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
attachExternalParsers(java.util.List<ExternalParser> parsers, TikaConfig config)
static void
attachExternalParsers(TikaConfig config)
static java.util.List<ExternalParser>
create()
static java.util.List<ExternalParser>
create(java.lang.String filename, ServiceLoader loader)
static java.util.List<ExternalParser>
create(java.net.URL... urls)
static java.util.List<ExternalParser>
create(ServiceLoader loader)
-
-
-
Method Detail
-
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)
-
-