Package org.apache.tika.config
Interface InitializableProblemHandler
-
public interface InitializableProblemHandlerThis is to be used to handle potential recoverable problems that might arise during initialization.
-
-
Field Summary
Fields Modifier and Type Field Description static InitializableProblemHandlerDEFAULTstatic InitializableProblemHandlerIGNOREStrategy that simply ignores all problems.static InitializableProblemHandlerINFOStrategy that logs warnings of all problems using aLoggercreated using the given class name.static InitializableProblemHandlerTHROWstatic InitializableProblemHandlerWARNStrategy that logs warnings of all problems using aLoggercreated using the given class name.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleInitializableProblem(String className, String message)
-
-
-
Field Detail
-
IGNORE
static final InitializableProblemHandler IGNORE
Strategy that simply ignores all problems.
-
INFO
static final InitializableProblemHandler INFO
Strategy that logs warnings of all problems using aLoggercreated using the given class name.
-
WARN
static final InitializableProblemHandler WARN
Strategy that logs warnings of all problems using aLoggercreated using the given class name.
-
THROW
static final InitializableProblemHandler THROW
-
DEFAULT
static final InitializableProblemHandler DEFAULT
-
-
Method Detail
-
handleInitializableProblem
void handleInitializableProblem(String className, String message) throws TikaConfigException
- Throws:
TikaConfigException
-
-