org.jacorb.notification.util
Class PatternWrapper
java.lang.Object
org.jacorb.notification.util.PatternWrapper
- Direct Known Subclasses:
- JDK14PatternWrapper
public abstract class PatternWrapper
- extends Object
This is a Wrapper around a PatternMatcher.
- Author:
- Alphonse Bendt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternWrapper
public PatternWrapper()
init
public static PatternWrapper init(String patternString)
compile
public abstract void compile(String pattern)
match
public abstract 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 if the pattern did not
match.
Copyright © 2013 JacORB. All Rights Reserved.