public class SingleFunctionParser extends java.lang.Object implements StringFunctionParser
StringFunctionParser
creates StringFunction
instances for regular
expressions with optional "->" transformations. It parses the first part with a given StringParser
and the second part with an optional WildcardManager
.Constructor and Description |
---|
SingleFunctionParser(StringParser stringParser,
WildcardManager wildcardManager)
Creates a new SingleFunctionParser.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
A main method for testing name matching and replacement.
|
StringFunction |
parse(java.lang.String regularExpression)
Creates a StringFunction for the given regular expression.
|
public SingleFunctionParser(StringParser stringParser, WildcardManager wildcardManager)
public StringFunction parse(java.lang.String regularExpression)
StringFunctionParser
parse
in interface StringFunctionParser
public static void main(java.lang.String[] args)