public class SubstringMatcher extends Object implements StringMatcher
Constructor and Description |
---|
SubstringMatcher() |
Modifier and Type | Method and Description |
---|---|
boolean |
match(String expression,
String value)
Returns true if the given expression is found within the value.
|
public boolean match(String expression, String value)
match
in interface StringMatcher
expression
- - the expression to findvalue
- - the value to look for the expression in