|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.camel.language.simple.SimpleTokenizer
public final class SimpleTokenizer
Tokenizer to create SimpleToken
from the input.
Method Summary | |
---|---|
static void |
changeFunctionEndToken(String... endToken)
|
static void |
changeFunctionStartToken(String... startToken)
|
static SimpleToken |
nextToken(String expression,
int index,
boolean allowEscape)
Create the next token |
static SimpleToken |
nextToken(String expression,
int index,
boolean allowEscape,
TokenType... filter)
Create the next token |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void changeFunctionStartToken(String... startToken)
SimpleLanguage.changeFunctionStartToken(String...)
public static void changeFunctionEndToken(String... endToken)
SimpleLanguage.changeFunctionEndToken(String...)
public static SimpleToken nextToken(String expression, int index, boolean allowEscape, TokenType... filter)
expression
- the input expressionindex
- the current indexallowEscape
- whether to allow escapesfilter
- defines the accepted token types to be returned (character is always used as fallback)
public static SimpleToken nextToken(String expression, int index, boolean allowEscape)
expression
- the input expressionindex
- the current indexallowEscape
- whether to allow escapes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |