public class TokenRangeSinkFilter extends TeeSinkTokenFilter.SinkFilter
| Constructor and Description |
|---|
TokenRangeSinkFilter(int lower,
int upper) |
| Modifier and Type | Method and Description |
|---|---|
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 boolean accept(AttributeSource source)
TeeSinkTokenFilter.SinkFilterAttributeSource shall be stored
in the sink.accept in class TeeSinkTokenFilter.SinkFilterpublic void reset()
throws IOException
TeeSinkTokenFilter.SinkFilterTeeSinkTokenFilter.SinkTokenStream.reset(). This method does nothing by default
and can optionally be overridden.reset in class TeeSinkTokenFilter.SinkFilterIOException