|
||||||||||
| 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)
Create a new PatternClassFilter. |
|
| Method Summary | |
|---|---|
boolean |
isIncludeJava()
Get the includeJava. |
boolean |
matchesClassName(String className)
Whether the class 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)
classPatterns - the class patternsresourcePatterns - the resource patterns
IllegalArgumentException - for a null pattern| Method Detail |
|---|
public boolean isIncludeJava()
public void setIncludeJava(boolean includeJava)
includeJava - the includeJava.public boolean matchesClassName(String className)
ClassFilter
matchesClassName in interface ClassFilterclassName - the class name
public boolean matchesResourcePath(String resourcePath)
ClassFilter
matchesResourcePath in interface ClassFilterresourcePath - the resource path
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||