public interface StandardTokenizerInterface
Modifier and Type | Field and Description |
---|---|
static int |
YYEOF
This character denotes the end of file
|
Modifier and Type | Method and Description |
---|---|
int |
getNextToken()
Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.
|
void |
getText(CharTermAttribute t)
Copies the matched text into the CharTermAttribute
|
void |
setBufferSize(int numChars)
Sets the scanner buffer size in chars
|
int |
yychar()
Returns the current position.
|
int |
yylength()
Returns the length of the matched text region.
|
void |
yyreset(Reader reader)
Resets the scanner to read from a new input stream.
|
static final int YYEOF
void getText(CharTermAttribute t)
int yychar()
void yyreset(Reader reader)
reader
- the new input streamint yylength()
int getNextToken() throws IOException
YYEOF
on end of streamIOException
- if any I/O-Error occursvoid setBufferSize(int numChars)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.