com.p6spy.engine.common
Class SubstringMatcher

java.lang.Object
  extended by com.p6spy.engine.common.SubstringMatcher
All Implemented Interfaces:
StringMatcher

public class SubstringMatcher
extends Object
implements StringMatcher


Constructor Summary
SubstringMatcher()
           
 
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
 

Constructor Detail

SubstringMatcher

public SubstringMatcher()
Method Detail

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 find
value - - the value to look for the expression in
Returns:
- true if the expression is found, false otherwise