public abstract static class TeeSinkTokenFilter.SinkFilter extends Object
AttributeSource
states to store in the sink.Constructor and Description |
---|
TeeSinkTokenFilter.SinkFilter() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(AttributeSource source)
Returns true, iff the current state of the passed-in
AttributeSource shall be stored
in the sink. |
void |
reset()
Called by
TeeSinkTokenFilter.SinkTokenStream.reset() . |
public abstract boolean accept(AttributeSource source)
AttributeSource
shall be stored
in the sink.public void reset() throws IOException
TeeSinkTokenFilter.SinkTokenStream.reset()
. This method does nothing by default
and can optionally be overridden.IOException