|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.util.LikeUtil
public class LikeUtil
Utility for performing a SQL Like comparsion.
Constructor Summary | |
---|---|
LikeUtil(java.lang.String pattern,
java.lang.Character escape,
boolean ignorecase)
Ctor. |
Method Summary | |
---|---|
boolean |
compare(java.lang.String compareString)
Execute the string. |
void |
resetPattern(java.lang.String pattern)
Resets the search pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LikeUtil(java.lang.String pattern, java.lang.Character escape, boolean ignorecase)
pattern
- is the SQL-like pattern toescape
- is the escape characterignorecase
- is true to ignore the case, or false if notMethod Detail |
---|
public boolean compare(java.lang.String compareString)
compareString
- is the string to compare
public void resetPattern(java.lang.String pattern)
pattern
- is the new pattern to match against
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |