com.p6spy.engine.common
Class JakartaRegexMatcher
- StringMatcher
public class JakartaRegexMatcher
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:32:01 $
$Id: JakartaRegexMatcher.java,v 1.1 2002/05/24 07:32:01 jeffgoke Exp $
$Log: JakartaRegexMatcher.java,v $
Revision 1.1 2002/05/24 07:32:01 jeffgoke
version 1 rewrite
Revision 1.1 2002/04/25 06:51:28 jeffgoke
Philip Ogren of BEA contributed installation instructions for BEA WebLogic Portal and Server
Jakarta RegEx support (contributed by Philip Ogren)
Ability to print stack trace of logged statements. This is very useful to understand where a logged query is being executed in the application (contributed by Philip Ogren)
Simplified table monitoring property file option (contributed by Philip Ogren)
Updated the RegEx documentation
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.
- match in interface StringMatcher
expression
- - the expression to findvalue
- - the value to look for the expression in
- - true if the expression is found, false otherwise