org.jacorb.notification.util

Class PatternWrapper

Known Direct Subclasses:
GNUPatternWrapper, JakartaRegexpPatternWrapper, JDK14PatternWrapper

public abstract class PatternWrapper
extends java.lang.Object

This is a Wrapper around a PatternMatcher.

Method Summary

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

Method Details

compile

public void compile(String pattern)


match

public int match(String text)
Match the given input against this pattern.

Parameters:
text - the input to be matched

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