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