public class TokenRangeSinkFilter extends TeeSinkTokenFilter.SinkFilter
| Constructor | Description |
|---|---|
TokenRangeSinkFilter(int lower,
int upper) |
| Modifier and Type | Method | 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.SinkFilterIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.