public static interface TokenStream.Tokenizer
TokenStream.CharacterStream and constructing the appropriate TokenStream.Token objects.| 限定符和类型 | 方法和说明 |
|---|---|
void |
tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens)
Process the supplied characters and construct the appropriate
TokenStream.Token objects. |
void tokenize(TokenStream.CharacterStream input, TokenStream.Tokens tokens) throws ParsingException
TokenStream.Token objects.input - the character input stream; never nulltokens - the factory for TokenStream.Token objects, which records the order in which the
tokens are createdParsingException - if there is an error while processing the character stream
(e.g., a quote is not closed, etc.)Copyright © 2025 The Apache Software Foundation. All rights reserved.