public abstract class PatternWrapper
extends java.lang.Object
Constructor and Description |
---|
PatternWrapper() |
Modifier and Type | Method and Description |
---|---|
abstract void |
compile(java.lang.String pattern) |
static PatternWrapper |
init(java.lang.String patternString) |
abstract int |
match(java.lang.String text)
Match the given input against this pattern.
|
public static PatternWrapper init(java.lang.String patternString)
public abstract void compile(java.lang.String pattern)
public abstract int match(java.lang.String text)
text
- the input to be matched