com.p6spy.engine.common

Interface StringMatcher

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.
Method Summary
booleanmatch(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)
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