| chan.util.StringUtils.ReplacementCallback |
Replacement callback for replaceAll methods.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Provides a replacement for found result. | |||||||||||
Provides a replacement for found result.
Use group() and group(int) methods of given matcher to extract necessary values.
Don't modify this matcher's state!
You can't use group references like $1 in replacement.
| Parameters | |
|---|---|
matcher |
Matcher:
Match result holder. |
| Returns | |
|---|---|
String |
Replacement string. |