org.jacorb.notification.util
Class GNUPatternWrapper

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

public class GNUPatternWrapper
extends PatternWrapper

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

Constructor Summary
GNUPatternWrapper()
           
 
Method Summary
 void compile(java.lang.String patternString)
           
 int match(java.lang.String text)
          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

GNUPatternWrapper

public GNUPatternWrapper()
Method Detail

compile

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

match

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

Specified by:
match in class PatternWrapper
Parameters:
text - 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()