public class ClassNameParser extends Object implements StringParser
| Constructor and Description |
|---|
ClassNameParser()
Creates a new ClassNameParser.
|
ClassNameParser(List variableStringMatchers)
Creates a new ClassNameParser that supports references to earlier
wildcards.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
A main method for testing class name matching.
|
StringMatcher |
parse(String regularExpression)
Creates a StringMatcher for the given regular expression.
|
public ClassNameParser()
public ClassNameParser(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.