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.
- Version:
- $Id: PatternWrapper.java,v 1.14 2011-05-10 15:40:39 nick.cross Exp $
- 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 © 2012 JacORB. All Rights Reserved.