Package | Description |
---|---|
org.apache.tika.config |
Tika configuration tools.
|
org.apache.tika.detect |
Media type detection.
|
Modifier and Type | Field and Description |
---|---|
private LoadErrorHandler |
ServiceLoader.handler |
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(java.lang.ClassLoader loader,
LoadErrorHandler handler) |
ServiceLoader(java.lang.ClassLoader loader,
LoadErrorHandler handler,
boolean dynamic) |
Modifier and Type | Method and Description |
---|---|
private static java.nio.charset.Charset |
AutoDetectReader.detect(java.io.InputStream input,
Metadata metadata,
java.util.List<EncodingDetector> detectors,
LoadErrorHandler handler) |
Constructor and Description |
---|
AutoDetectReader(java.io.BufferedInputStream stream,
Metadata metadata,
java.util.List<EncodingDetector> detectors,
LoadErrorHandler handler) |