|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.classloader.plugins.filter.PatternClassFilter
public class PatternClassFilter
A class filter using regular expressions
Field Summary |
---|
Fields inherited from interface org.jboss.classloader.spi.filter.ClassFilter |
---|
EVERYTHING, JAVA_ONLY, NOTHING, NOTHING_BUT_JAVA |
Constructor Summary | |
---|---|
PatternClassFilter(String[] classPatterns,
String[] resourcePatterns,
String[] packagePatterns)
Create a new PatternClassFilter. |
Method Summary | |
---|---|
boolean |
isIncludeJava()
Get the includeJava. |
boolean |
matchesClassName(String className)
Whether the class name matches the filter |
boolean |
matchesPackageName(String packageName)
Whether the package name matches the filter |
boolean |
matchesResourcePath(String resourcePath)
Whether the resource name matches the filter |
void |
setIncludeJava(boolean includeJava)
Set the includeJava. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PatternClassFilter(String[] classPatterns, String[] resourcePatterns, String[] packagePatterns)
classPatterns
- the class patternsresourcePatterns
- the resource patternspackagePatterns
- the package patterns
IllegalArgumentException
- for a null patternMethod Detail |
---|
public boolean isIncludeJava()
public void setIncludeJava(boolean includeJava)
includeJava
- the includeJava.public boolean matchesClassName(String className)
ClassFilter
matchesClassName
in interface ClassFilter
className
- the class name
public boolean matchesResourcePath(String resourcePath)
ClassFilter
matchesResourcePath
in interface ClassFilter
resourcePath
- the resource path
public boolean matchesPackageName(String packageName)
ClassFilter
matchesPackageName
in interface ClassFilter
packageName
- the package path
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |