public static interface PatternUtil.Replacer
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReplacement(java.lang.String context,
java.lang.CharSequence match) |
@Nullable java.lang.String getReplacement(java.lang.String context, java.lang.CharSequence match)
context - Only for logging; e.g. the name of the file being transformedreplacement for this match, or
null to indicate that this match should not be replacedMatcher.appendReplacement(StringBuffer, String)