private static class Strings.RegExSplitter extends Object implements TokenStream.Tokenizer
'\' so
it will not act as a separator.| Modifier | Constructor and Description |
|---|---|
private |
RegExSplitter() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
split(String identifier) |
void |
tokenize(TokenStream.CharacterStream input,
TokenStream.Tokens tokens)
Process the supplied characters and construct the appropriate
TokenStream.Token objects. |
public void tokenize(TokenStream.CharacterStream input, TokenStream.Tokens tokens) throws ParsingException
TokenStream.TokenizerTokenStream.Token objects.tokenize in interface TokenStream.Tokenizerinput - 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 © 2019 JBoss by Red Hat. All rights reserved.