org.jacorb.notification.util

Class JDK14PatternWrapper


public class JDK14PatternWrapper
extends PatternWrapper

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

Constructor Summary

JDK14PatternWrapper()

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

JDK14PatternWrapper

public JDK14PatternWrapper()

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()