public abstract class PatternBasedTextProcessor extends Object
UriMatchRule
Constructor and Description |
---|
PatternBasedTextProcessor() |
Modifier and Type | Method and Description |
---|---|
protected Matcher |
getMatcher(String text)
Builds a matcher for the given text.
|
String |
getPattern() |
abstract String |
process(String text)
Processes a given text.
|
void |
setPattern(String pattern) |
public final String getPattern()
public final void setPattern(String pattern)
pattern
- the pattern to match against the input.public abstract String process(String text)
text
- the text to process.Copyright © 2005–2017 IIPC. All rights reserved.