com.p6spy.engine.common
Class SubstringMatcher
public
class
SubstringMatcher
extends Object
implements StringMatcher
Description: Implements the StringMatcher with simple substring matching.
With pre-jdk1.4 jvms, this should be the default matching used.
$Author: jeffgoke $
$Revision: 1.1 $
$Date: 2002/05/24 07:31:59 $
$Id: SubstringMatcher.java,v 1.1 2002/05/24 07:31:59 jeffgoke Exp $
$Log: SubstringMatcher.java,v $
Revision 1.1 2002/05/24 07:31:59 jeffgoke
version 1 rewrite
Revision 1.1 2002/04/22 02:27:04 jeffgoke
Simon Sadedin added timing information. Added Junit tests.
Method Summary |
boolean | match(String expression, String value)
Returns true if the given expression is found within the value.
|
public boolean match(String expression, String value)
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