com.p6spy.engine.common
Interface StringMatcher

All Known Implementing Classes:
GnuRegexMatcher, JakartaRegexMatcher, SubstringMatcher

public interface StringMatcher


Method Summary
 boolean match(String expression, String value)
          Returns true if the given expression is found within the value.
 

Method Detail

match

public boolean match(String expression,
                     String value)
              throws MatchException
Returns true if the given expression is found within the value.

Parameters:
expression - - the expression to find
value - - the value to look for the expression in
Returns:
- true if the expression is found, false otherwise
Throws:
MatchException