org.jacorb.notification.util

Class GNUPatternWrapper


public class GNUPatternWrapper
extends PatternWrapper

Version:
$Id: GNUPatternWrapper.java,v 1.5 2004/05/06 12:40:00 nicolas Exp $

Author:
Alphonse Bendt

Constructor Summary

GNUPatternWrapper()

Method Summary

void
compile(String patternString)
int
match(String text)
Match the given input against this pattern.
String
toString()

Methods inherited from class org.jacorb.notification.util.PatternWrapper

compile, match

Constructor Details

GNUPatternWrapper

public GNUPatternWrapper()

Method Details

compile

public void compile(String patternString)
Overrides:
compile in interface PatternWrapper


match

public int match(String text)
Match the given input against this pattern.
Overrides:
match in interface PatternWrapper

Parameters:
text - the input to be matched

Returns:
the index of the last character matched, plus one or zero.


toString

public String toString()