public class SimpleTextParser extends Object
| Constructor and Description |
|---|
SimpleTextParser(String oql) |
| Modifier and Type | Method and Description |
|---|---|
int |
findWordLower(String lowerMatch) |
int |
findWordLower(String lowerMatch,
int afterPos) |
String |
getOql() |
int |
getPos() |
String |
getWord() |
boolean |
isFinished() |
boolean |
isMatch(String lowerMatch)
Match the current word.
|
boolean |
isMatch(String lowerMatch,
String nextWordMatch)
Match the current and the next word.
|
String |
nextWord() |
String |
peekNextWord() |
public SimpleTextParser(String oql)
public int getPos()
public String getOql()
public String getWord()
public String peekNextWord()
public boolean isMatch(String lowerMatch, String nextWordMatch)
public boolean isFinished()
public int findWordLower(String lowerMatch, int afterPos)
public int findWordLower(String lowerMatch)
public boolean isMatch(String lowerMatch)
public String nextWord()
Copyright © 2014. All Rights Reserved.