Package org.apache.tika.pipes.core
Class PassbackFilter
java.lang.Object
org.apache.tika.pipes.core.PassbackFilter
- All Implemented Interfaces:
Serializable
Filter/Select some of the emitted output and pass it back to the client parser.
This is intentionally NOT a MetadataFilter. MetadataFilter is applied before emission to transform metadata (e.g., remove fields, compute digests). PassbackFilter is applied after emission to select metadata to pass back from the forked PipesServer to the parent. They share a method signature but serve entirely different purposes.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PassbackFilter
public PassbackFilter()
-
-
Method Details
-
filter
Filters the metadata list in place, selecting which data to pass back to the client.- Parameters:
metadataList- the list to filter (must be mutable)- Throws:
TikaException- if filtering fails
-