public class ClasspathPattern extends Object
Constructor and Description |
---|
ClasspathPattern() |
ClasspathPattern(String pattern) |
ClasspathPattern(String[] patterns) |
Modifier and Type | Method and Description |
---|---|
void |
addPattern(String pattern)
Parse a classpath pattern string and appending the result
to the existing configuration.
|
String[] |
getPatterns() |
boolean |
match(String name)
Match the class name against the pattern
|
void |
prependPattern(String classOrPackage) |
void |
setPattern(String pattern)
Initialize the matcher by parsing a classpath pattern string
|
public ClasspathPattern()
public ClasspathPattern(String[] patterns)
public ClasspathPattern(String pattern)
public void setPattern(String pattern)
pattern
- classpath pattern stringpublic void addPattern(String pattern)
pattern
- classpath pattern stringpublic void prependPattern(String classOrPackage)
public String[] getPatterns()
public boolean match(String name)
name
- name of the class to matchCopyright © 1995-2015 Webtide. All Rights Reserved.