public class TokenTypeSinkTokenizer extends SinkTokenizer
Token.type()
matches the passed in typeToMatch
then
add it to the sinkiter, lst
Constructor and Description |
---|
TokenTypeSinkTokenizer(int initCap,
String typeToMatch) |
TokenTypeSinkTokenizer(List input,
String typeToMatch) |
TokenTypeSinkTokenizer(String typeToMatch) |
Modifier and Type | Method and Description |
---|---|
void |
add(Token t) |
close, getTokens, next, reset
next
public TokenTypeSinkTokenizer(String typeToMatch)
public TokenTypeSinkTokenizer(int initCap, String typeToMatch)
public void add(Token t)
add
in class SinkTokenizer
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.