Package org.apache.tika.pipes.emitter
Class EmitterManager
java.lang.Object
org.apache.tika.config.ConfigBase
org.apache.tika.pipes.emitter.EmitterManager
Utility class that will apply the appropriate fetcher
to the fetcherString based on the prefix.
This does not allow multiple fetchers supporting the same prefix.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConvenience method that returns an emitter if only one emitter is specified in the tika-config file.getEmitter
(String emitterName) static EmitterManager
Methods inherited from class org.apache.tika.config.ConfigBase
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
-
Constructor Details
-
EmitterManager
-
-
Method Details
-
load
- Throws:
IOException
TikaConfigException
-
getSupported
-
getEmitter
-
getEmitter
Convenience method that returns an emitter if only one emitter is specified in the tika-config file. If 0 or > 1 emitters are specified, this throws an IllegalArgumentException.- Returns:
-