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
Constructors -
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 EmitterManagerMethods inherited from class ConfigBase
buildComposite, buildComposite, buildSingle, buildSingle, configure, handleSettings
-
Constructor Details
-
EmitterManager
-
-
Method Details
-
load
- Throws:
IOExceptionTikaConfigException
-
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:
-