Package org.apache.tika.config
Interface Initializable
-
- All Known Subinterfaces:
ObjectRecogniser
- All Known Implementing Classes:
AgeRecogniser
,AmazonTranscribe
,AZBlobEmitter
,AZBlobFetcher
,AZBlobPipesIterator
,CompositePipesReporter
,CompositeRenderer
,CSVPipesIterator
,DL4JInceptionV3Net
,DL4JVGG16Net
,ExternalParser
,FileListPipesIterator
,FileSystemFetcher
,FileSystemPipesIterator
,FileSystemStatusReporter
,GCSEmitter
,GCSFetcher
,GCSPipesIterator
,HttpFetcher
,JDBCEmitter
,JDBCPipesIterator
,KafkaEmitter
,KafkaPipesIterator
,ObjectRecognitionParser
,OpenSearchEmitter
,OpenSearchPipesReporter
,PDFBoxRenderer
,PDFParser
,PipesIterator
,RegexCaptureParser
,S3Emitter
,S3Fetcher
,S3PipesIterator
,SentimentAnalysisParser
,SolrEmitter
,SolrPipesIterator
,SQLite3Parser
,StringsParser
,TensorflowImageRecParser
,TensorflowRESTCaptioner
,TensorflowRESTRecogniser
,TensorflowRESTVideoRecogniser
,TesseractOCRParser
,TikaServerClientConfig
,TlsConfig
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
-
-