Package org.ametys.core.file
Class TikaProvider
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.core.file.TikaProvider
- All Implemented Interfaces:
Initializable
,Component
,LogEnabled
Provides a single shared Tika instance to other Components.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
ROLE
The avalon role. -
_tika
The managed Tika instance.
-
-
Constructor Details
-
TikaProvider
public TikaProvider()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Throws:
Exception
-
getTika
Get the Tika instance.- Returns:
- The Tika instance.
-