public class MatchedStringFunction extends java.lang.Object implements StringFunction
StringFunction
returns the most recently matched string of a given VariableStringMatcher
.IDENTITY_FUNCTION
Constructor and Description |
---|
MatchedStringFunction(VariableStringMatcher variableStringMatcher)
Creates a new MatchedStringFunction with the given variable string matcher.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
transform(java.lang.String string)
Transforms the given string into a new string.
|
public MatchedStringFunction(VariableStringMatcher variableStringMatcher)
public java.lang.String transform(java.lang.String string)
StringFunction
transform
in interface StringFunction