Package io.debezium.text
Interface TokenStream.Tokenizer
-
- All Known Implementing Classes:
Strings.RegExSplitter,TableIdParser.TableIdTokenizer,TokenStream.BasicTokenizer
- Enclosing class:
- TokenStream
public static interface TokenStream.TokenizerInterface for a Tokenizer component responsible for processing the characters in aTokenStream.CharacterStreamand constructing the appropriateTokenStream.Tokenobjects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtokenize(TokenStream.CharacterStream input, TokenStream.Tokens tokens)Process the supplied characters and construct the appropriateTokenStream.Tokenobjects.
-
-
-
Method Detail
-
tokenize
void tokenize(TokenStream.CharacterStream input, TokenStream.Tokens tokens) throws ParsingException
Process the supplied characters and construct the appropriateTokenStream.Tokenobjects.- Parameters:
input- the character input stream; never nulltokens- the factory forTokenStream.Tokenobjects, which records the order in which the tokens are created- Throws:
ParsingException- if there is an error while processing the character stream (e.g., a quote is not closed, etc.)
-
-