Package org.apache.tika.parser.inference
Class EngineRegistry
java.lang.Object
org.apache.tika.parser.inference.EngineRegistry
- All Implemented Interfaces:
Closeable,AutoCloseable
The
"engines" map: user-chosen name to engine, built once at config load and
closed once with it.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EngineRegistry
-
-
Method Details
-
get
-
getEngines
-
close
Closes every engine; one failure does not skip the rest, the first is rethrown.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-