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, resetnextpublic TokenTypeSinkTokenizer(String typeToMatch)
public TokenTypeSinkTokenizer(int initCap,
String typeToMatch)
public void add(Token t)
add in class SinkTokenizerCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.