public interface Initializable
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
Modifier and Type | Method and Description |
---|---|
void |
checkInitialization(InitializableProblemHandler problemHandler) |
void |
initialize(Map<String,Param> params) |
void initialize(Map<String,Param> params) throws TikaConfigException
params
- params to use for initializationTikaConfigException
void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException
problemHandler
- if there is a problem and no
custom initializableProblemHandler has been configured
via Initializable parameters,
this is called to respond.TikaConfigException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.