|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.classloader.plugins.filter.CombiningClassFilter
public class CombiningClassFilter
CombiningClassFilter.
Field Summary |
---|
Fields inherited from interface org.jboss.classloader.spi.filter.ClassFilter |
---|
EVERYTHING, JAVA_ONLY, NOTHING, NOTHING_BUT_JAVA |
Constructor Summary | |
---|---|
CombiningClassFilter(boolean and,
ClassFilter[] filters)
Create a new CombiningClassFilter. |
Method Summary | |
---|---|
static CombiningClassFilter |
create(boolean and,
ClassFilter... filters)
Create a new CombiningClassFilter. |
static CombiningClassFilter |
create(ClassFilter... filters)
Create a new CombiningClassFilter. |
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 |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CombiningClassFilter(boolean and, ClassFilter[] filters)
and
- whether it is an "and" filterfilters
- the filters
IllegalArgumentException
- for null filtersMethod Detail |
---|
public static CombiningClassFilter create(ClassFilter... filters)
filters
- the filters
IllegalArgumentException
- for null filterspublic static CombiningClassFilter create(boolean and, ClassFilter... filters)
and
- whether it is an "and" filterfilters
- the filters
IllegalArgumentException
- for null filterspublic 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 |