com.infoengine.sql92
Class LikeEvaluator
java.lang.Object
com.infoengine.sql92.LikeEvaluator
- public class LikeEvaluator
- extends Object
Field Summary |
private org.apache.regexp.RE |
theRE
|
Constructor Summary |
LikeEvaluator(String pattern)
Constructor for building the string to
use as a pattern for comparison versus
specific strings. |
Method Summary |
boolean |
isMatch(String matchObject)
The method used to determine if a specific String
matches a previously built Regular Expression. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
theRE
private org.apache.regexp.RE theRE
LikeEvaluator
public LikeEvaluator(String pattern)
throws org.apache.regexp.RESyntaxException
- Constructor for building the string to
use as a pattern for comparison versus
specific strings.
isMatch
public boolean isMatch(String matchObject)
- The method used to determine if a specific String
matches a previously built Regular Expression.
Returns true if the input in its entirety is an exact match of
the regular expression.