org.jacorb.notification.util
Class JakartaRegexpPatternWrapper

java.lang.Object
  extended byorg.jacorb.notification.util.PatternWrapper
      extended byorg.jacorb.notification.util.JakartaRegexpPatternWrapper

public class JakartaRegexpPatternWrapper
extends PatternWrapper

Version:
$Id: JakartaRegexpPatternWrapper.java,v 1.4 2005/02/14 00:13:05 alphonse.bendt Exp $
Author:
Alphonse Bendt

Constructor Summary
JakartaRegexpPatternWrapper()
           
 
Method Summary
 void compile(java.lang.String patternString)
           
 int match(java.lang.String string)
          Match the given input against this pattern.
 java.lang.String toString()
           
 
Methods inherited from class org.jacorb.notification.util.PatternWrapper
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JakartaRegexpPatternWrapper

public JakartaRegexpPatternWrapper()
Method Detail

compile

public void compile(java.lang.String patternString)
Specified by:
compile in class PatternWrapper

match

public int match(java.lang.String string)
Description copied from class: PatternWrapper
Match the given input against this pattern.

Specified by:
match in class PatternWrapper
Parameters:
string - the input to be matched
Returns:
the index of the last character matched, plus one or zero if the pattern did not match.

toString

public java.lang.String toString()