Method NewSinkTokenStream
NewSinkTokenStream()
Returns a new TeeSinkTokenFilter.SinkTokenStream that receives all tokens consumed by this stream.
Declaration
public TeeSinkTokenFilter.SinkTokenStream NewSinkTokenStream()
Returns
Type | Description |
---|---|
TeeSinkTokenFilter.SinkTokenStream |
NewSinkTokenStream(TeeSinkTokenFilter.SinkFilter)
Returns a new TeeSinkTokenFilter.SinkTokenStream that receives all tokens consumed by this stream that pass the supplied filter.
Declaration
public TeeSinkTokenFilter.SinkTokenStream NewSinkTokenStream(TeeSinkTokenFilter.SinkFilter filter)
Parameters
Type | Name | Description |
---|---|---|
TeeSinkTokenFilter.SinkFilter | filter |
Returns
Type | Description |
---|---|
TeeSinkTokenFilter.SinkTokenStream |