Package org.apache.tika.pipes
Class PipesReporterBase
java.lang.Object
org.apache.tika.pipes.PipesReporter
org.apache.tika.pipes.PipesReporterBase
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Initializable
- Direct Known Subclasses:
JDBCPipesReporter
Base class that includes filtering by
PipesResult.STATUS
-
Field Summary
Fields inherited from class org.apache.tika.pipes.PipesReporter
NO_OP_REPORTER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(PipesResult.STATUS status) Implementations must call this for the includes/excludes filters to work!void
checkInitialization
(InitializableProblemHandler problemHandler) void
initialize
(Map<String, Param> params) void
setExcludes
(List<String> excludes) void
setIncludes
(List<String> includes) Methods inherited from class org.apache.tika.pipes.PipesReporter
close, error, error, report, report, supportsTotalCount
-
Constructor Details
-
PipesReporterBase
public PipesReporterBase()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceInitializable
- Parameters:
params
- params to use for initialization- Throws:
TikaConfigException
-
checkInitialization
public void checkInitialization(InitializableProblemHandler problemHandler) throws TikaConfigException - Specified by:
checkInitialization
in interfaceInitializable
- Parameters:
problemHandler
- if there is a problem and no custom initializableProblemHandler has been configured via Initializable parameters, this is called to respond.- Throws:
TikaConfigException
-
accept
Implementations must call this for the includes/excludes filters to work!- Parameters:
status
-- Returns:
-
setIncludes
- Throws:
TikaConfigException
-
setExcludes
- Throws:
TikaConfigException
-