public class Tokenizer extends Object
| Modifier and Type | Method and Description |
|---|---|
Tokenizer |
setFlagWhiteSpace(Boolean flagIncludeWhitespace)
Inform the Tokenizer whether extra tokens for whitespace characters should be added to the token list or not.
|
TokenList |
tokenize()
Tokenizes an expression as defined per OData specification
|
public Tokenizer(String expression)
public Tokenizer setFlagWhiteSpace(Boolean flagIncludeWhitespace)
flagIncludeWhitespace - True -> Whitespace token will be added to token list; False otherwisepublic TokenList tokenize() throws TokenizerException, ExpressionParserException
TokenizerExceptionExpressionParserExceptionCopyright © 2020. All rights reserved.