DateRecognizerSinkFilter
, TokenRangeSinkFilter
, TokenTypeSinkFilter
public abstract static class TeeSinkTokenFilter.SinkFilter extends Object
AttributeSource
states to store in the sink.Constructor | Description |
---|---|
SinkFilter() |
Modifier and Type | Method | 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
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.