public class NameParser extends Object implements StringParser
| Constructor and Description |
|---|
NameParser()
Creates a new NameParser.
|
NameParser(List variableStringMatchers)
Creates a new NameParser that supports references to earlier
wildcards.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
A main method for testing name matching.
|
StringMatcher |
parse(String regularExpression)
Creates a StringMatcher for the given regular expression.
|
public NameParser()
public NameParser(List variableStringMatchers)
variableStringMatchers - an optional mutable list of
VariableStringMatcher instances that match
the wildcards.public StringMatcher parse(String regularExpression)
StringParserparse in interface StringParserpublic static void main(String[] args)
Copyright © 2019. All rights reserved.