Package | Description |
---|---|
org.apache.tika.config |
Tika configuration tools.
|
Modifier and Type | Field and Description |
---|---|
static LoadErrorHandler |
LoadErrorHandler.IGNORE
Strategy that simply ignores all problems.
|
static LoadErrorHandler |
LoadErrorHandler.THROW
Strategy that throws a
RuntimeException with the given
throwable as the root cause, thus interrupting the entire service
loading operation. |
static LoadErrorHandler |
LoadErrorHandler.WARN
Strategy that logs warnings of all problems using a
Logger
created using the given class name. |
Modifier and Type | Method and Description |
---|---|
LoadErrorHandler |
ServiceLoader.getLoadErrorHandler()
Returns the load error handler used by this loader.
|
Constructor and Description |
---|
ServiceLoader(ClassLoader loader,
LoadErrorHandler handler) |
ServiceLoader(ClassLoader loader,
LoadErrorHandler handler,
boolean dynamic) |
ServiceLoader(ClassLoader loader,
LoadErrorHandler handler,
InitializableProblemHandler initializableProblemHandler,
boolean dynamic) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.