com.p6spy.engine.common
Class GnuRegexMatcher

java.lang.Object
  extended bycom.p6spy.engine.common.GnuRegexMatcher
All Implemented Interfaces:
StringMatcher

public class GnuRegexMatcher
extends java.lang.Object
implements StringMatcher


Constructor Summary
GnuRegexMatcher()
           
 
Method Summary
 boolean match(java.lang.String expression, java.lang.String value)
          Returns true if the given expression is found within the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnuRegexMatcher

public GnuRegexMatcher()
Method Detail

match

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

Specified by:
match in interface StringMatcher
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