Package org.apache.tika.parser.external
Class ExternalParsersFactory
java.lang.Object
org.apache.tika.parser.external.ExternalParsersFactory
Creates instances of ExternalParser based on XML
configuration files.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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>
static List<ExternalParser>
create
(ServiceLoader loader)
-
Constructor Details
-
ExternalParsersFactory
public ExternalParsersFactory()
-
-
Method Details
-
create
- Throws:
IOException
TikaException
-
create
- Throws:
IOException
TikaException
-
create
public static List<ExternalParser> create(String filename, ServiceLoader loader) throws IOException, TikaException - Throws:
IOException
TikaException
-
create
- Throws:
IOException
TikaException
-
attachExternalParsers
- Throws:
IOException
TikaException
-
attachExternalParsers
-