Class SimpleTextParser
- java.lang.Object
-
- io.ebeaninternal.server.querydefn.SimpleTextParser
-
public class SimpleTextParser extends Object
-
-
Constructor Summary
Constructors Constructor Description SimpleTextParser(String oql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
findWordLower(String lowerMatch)
int
findWordLower(String lowerMatch, int afterPos)
int
getPos()
String
getWord()
boolean
isEmpty()
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()
-
-
-
Constructor Detail
-
SimpleTextParser
public SimpleTextParser(String oql)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
getPos
public int getPos()
-
isMatch
public boolean isMatch(String lowerMatch, String nextWordMatch)
Match the current and the next word.
-
isFinished
public boolean isFinished()
-
findWordLower
public int findWordLower(String lowerMatch, int afterPos)
-
findWordLower
public int findWordLower(String lowerMatch)
-
-