public interface ExplicitStateHighlighter
Modifier and Type | Method and Description |
---|---|
byte |
getNextToken()
Obtain the next token from the scanner.
|
int |
getTokenLength()
Returns the length of the matched text region.
|
void |
setReader(Reader reader)
Sets the reader that will be used to receive the text data.
|
void setReader(Reader reader)
reader
- the Reader
that has to be usedbyte getNextToken() throws IOException
IOException
- when an error occurred during the parsing of
the readerint getTokenLength()
Copyright © 2011–2021. All rights reserved.