Modifier and Type | Field and Description |
---|---|
protected String |
expression |
protected Pattern |
expressionPattern |
protected String |
replacement |
Modifier | Constructor and Description |
---|---|
protected |
Rule(String expression,
String replacement) |
Modifier and Type | Method and Description |
---|---|
protected String |
apply(String input)
Apply the rule against the input string, returning the modified string or null if the rule didn't apply (and no
modifications were made)
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
protected final String expression
protected final Pattern expressionPattern
protected final String replacement
protected String apply(String input)
input
- the input stringCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.