com.stellent.cis.common.util
Interface StringTools.RegexAppendCallback
- Enclosing class:
- StringTools
public static interface StringTools.RegexAppendCallback
Allows a user to append/modify a buffer during a call to StringTools.evaluateRegexWithCallback(java.lang.String, java.lang.String, com.stellent.cis.common.util.StringTools.RegexAppendCallback)
Method Summary |
void |
appendReplacement(java.util.regex.Matcher matcher,
java.lang.StringBuffer sb)
Called during evaluation when a match is made |
appendReplacement
void appendReplacement(java.util.regex.Matcher matcher,
java.lang.StringBuffer sb)
- Called during evaluation when a match is made
- Parameters:
matcher
- the current matcher objectsb
- the current string buffer to modify