| java.lang.Object org.apache.jorphan.reflect.ClassFinder
ClassFinder | final public class ClassFinder (Code) | | This class finds classes that extend one of a set of parent classes
author: Burt Beckwith author: Michael Stover (mstover1 at apache.org) |
Method Summary | |
public static List | findClassesThatExtend(String[] paths, Class[] superClasses) Convenience method for
findClassesThatExtend(Class[], boolean)
with the option to include inner classes in the search set to false. | public static List | findClassesThatExtend(String[] strPathsOrJars, Class[] superClasses, boolean innerClasses) Find classes in the provided path(s)/jar(s) that extend the class(es). |
findClassesThatExtend | public static List findClassesThatExtend(String[] paths, Class[] superClasses) throws IOException(Code) | | Convenience method for
findClassesThatExtend(Class[], boolean)
with the option to include inner classes in the search set to false.
List containing discovered classes. |
findClassesThatExtend | public static List findClassesThatExtend(String[] strPathsOrJars, Class[] superClasses, boolean innerClasses) throws IOException(Code) | | Find classes in the provided path(s)/jar(s) that extend the class(es).
Parameters: strPathsOrJars - - pathnames or jarfiles to search for classes Parameters: superClasses - - required parent class(es) Parameters: innerClasses - - should we include inner classes? List containing discovered classes |
|
|