public static interface TokenStream.CharacterStream
TokenStream.Tokenizer to iterate through the characters in the content input
to the TokenStream.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext()
Determine if there is another character available in this stream.
|
int |
index()
Get the index for the last character returned from
next(). |
char |
next()
Obtain the next character value, and advance the stream.
|
Position |
position(int startIndex)
Get the position for the last character returned from
next(). |
boolean hasNext()
next() can be called), or false
otherwisechar next()
NoSuchElementException - if there is no next characterint index()
next().Copyright © 2025 The Apache Software Foundation. All rights reserved.