|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jorphan.reflect.ClassFinder
public final class ClassFinder
This class finds classes that extend one of a set of parent classes
Method Summary | |
---|---|
static java.util.List |
findClassesThatExtend(java.lang.String[] paths,
java.lang.Class[] superClasses)
Convenience method for findClassesThatExtend(Class[], boolean)
with the option to include inner classes in the search set to false. |
static java.util.List |
findClassesThatExtend(java.lang.String[] strPathsOrJars,
java.lang.Class[] superClasses,
boolean innerClasses)
Find classes in the provided path(s)/jar(s) that extend the class(es). |
static java.util.List |
findClassesThatExtend(java.lang.String[] strPathsOrJars,
java.lang.Class[] superClasses,
boolean innerClasses,
java.lang.String contains,
java.lang.String notContains)
Find classes in the provided path(s)/jar(s) that extend the class(es). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List findClassesThatExtend(java.lang.String[] paths, java.lang.Class[] superClasses) throws java.io.IOException
findClassesThatExtend(Class[], boolean)
with the option to include inner classes in the search set to false.
java.io.IOException
public static java.util.List findClassesThatExtend(java.lang.String[] strPathsOrJars, java.lang.Class[] superClasses, boolean innerClasses) throws java.io.IOException
strPathsOrJars
- - pathnames or jarfiles to search for classessuperClasses
- - required parent class(es)innerClasses
- - should we include inner classes?
java.io.IOException
public static java.util.List findClassesThatExtend(java.lang.String[] strPathsOrJars, java.lang.Class[] superClasses, boolean innerClasses, java.lang.String contains, java.lang.String notContains) throws java.io.IOException
strPathsOrJars
- - pathnames or jarfiles to search for classessuperClasses
- - required parent class(es)innerClasses
- - should we include inner classes?contains
- - classname should contain this stringnotContains
- - classname should not contain this string
java.io.IOException
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |