com.p6spy.engine.common
Interface StringMatcher
- GnuRegexMatcher, JakartaRegexMatcher, SubstringMatcher
public interface StringMatcher
Description: An interface to allow pluggable string matching routines.
$Author: jeffgoke $
$Revision: 1.1 $
$Date: 2002/05/24 07:32:01 $
$Id: StringMatcher.java,v 1.1 2002/05/24 07:32:01 jeffgoke Exp $
$Log: StringMatcher.java,v $
Revision 1.1 2002/05/24 07:32:01 jeffgoke
version 1 rewrite
Revision 1.1 2002/04/22 02:27:04 jeffgoke
Simon Sadedin added timing information. Added Junit tests.
boolean | match(String expression, String value) - Returns true if the given expression is found within the value.
|
match
public boolean match(String expression,
String value)
throws MatchException
Returns true if the given expression is found within the value.
expression
- - the expression to findvalue
- - the value to look for the expression in
- - true if the expression is found, false otherwise