public class BeginsWith extends AbstractCondition implements Condition
Instances of this class check all values for the given variable if they start with a pre-defined substring.
| Constructor and Description |
|---|
BeginsWith(String var,
String exp) |
| Modifier and Type | Method and Description |
|---|---|
String |
getOperator()
This returns a textual representation of the operator of this condition.
|
boolean |
matches(String pattern,
String value) |
createCondition, extractValues, getPureValue, getValue, getVariable, isNegated, isNumeric, matches, matches, matches, matchesAll, matchesAny, setValue, setVariable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValue, getVariable, matches, setVariablepublic BeginsWith(String var, String exp) throws SyntaxException
SyntaxExceptionpublic String getOperator()
ConditiongetOperator in interface ConditiongetOperator in class AbstractConditionCopyright © 2015 jwall.org. All Rights Reserved.