com.p6spy.engine.common
Class SubstringMatcher
java.lang.Object
com.p6spy.engine.common.SubstringMatcher
- All Implemented Interfaces:
- StringMatcher
public class SubstringMatcher
- extends Object
- implements StringMatcher
Method Summary |
boolean |
match(String expression,
String value)
Returns true if the given expression is found within the value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstringMatcher
public SubstringMatcher()
match
public boolean match(String expression,
String value)
- Returns true if the given expression is found within the value.
- Specified by:
match
in interface StringMatcher
- Parameters:
expression
- - the expression to findvalue
- - the value to look for the expression in
- Returns:
- - true if the expression is found, false otherwise