Package org.apache.tika.config
Interface Initializable
-
- All Known Subinterfaces:
ObjectRecogniser
- All Known Implementing Classes:
AgeRecogniser
,DL4JInceptionV3Net
,DL4JVGG16Net
,ObjectRecognitionParser
,PDFParser
,SentimentAnalysisParser
,SQLite3Parser
,TensorflowImageRecParser
,TensorflowRESTCaptioner
,TensorflowRESTRecogniser
,TensorflowRESTVideoRecogniser
,TesseractOCRParser
public interface Initializable
Components that must do special processing across multiple fields at initialization time should implement this interface.TikaConfig will call initialize on Initializable classes after setting the parameters for non-statically service loaded classes.
TikaConfig will call checkInitialization on all Initializables, whether loaded statically
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
checkInitialization(InitializableProblemHandler problemHandler)
void
initialize(Map<String,Param> params)
-
-
-
Method Detail
-
initialize
void initialize(Map<String,Param> params) throws TikaConfigException
- Parameters:
params
- params to use for initialization- Throws:
TikaConfigException
-
checkInitialization
void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
- Parameters:
problemHandler
- if there is a problem and no custom initializableProblemHandler has been configured via Initializable parameters, this is called to respond.- Throws:
TikaConfigException
-
-