public class SunRegExpEvaluator extends Object implements RegExpEvaluator
RegExpEvaluator that uses the Java Regular Expression library.| Constructor and Description |
|---|
SunRegExpEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String value)
Returns true if the given String is matched by the regular expression of this RegExpEvaluator
|
void |
setExpression(String rexpr)
Sets the regular expression to match against during a call to #matches
|
public void setExpression(String rexpr)
setExpression in interface RegExpEvaluatorrexpr - the regular expressionpublic boolean matches(String value)
matches in interface RegExpEvaluatorvalue - the String to check the production ofsetExpression(java.lang.String)Copyright © 2016. All rights reserved.