|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--elge.engine.ClassSearcher
Searches the packages, jar files or files on disk for instances of some class.
This class was modified from source as described in the source of this class.
| Field Summary | |
protected static String[] |
skipPackages
packages to skip |
| Method Summary | |
static Set |
find(String tosubclassname)
Returns all the classes inheriting or implementing a given class in the currently loaded packages. |
static Set |
find(String pckgname,
String clsname,
Class tosubclass)
Display all the classes inheriting or implementing a given class in a given package. |
static Set |
find(String pckname,
String clsname,
String tosubclassname)
Returns all the classes inheriting or implementing a given class in a given package. |
protected static boolean |
skipPackage(String pname)
Tests if the package name is in the skip packages array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final String[] skipPackages
| Method Detail |
protected static boolean skipPackage(String pname)
pname - the package name to test
public static Set find(String tosubclassname)
tosubclassname - the name of the class to inherit from
Class objects or null, if the param is not a valid class name.
public static Set find(String pckname,
String clsname,
String tosubclassname)
pckname - the package to search in.clsname - The class in a package where to search.tosubclassname - the subclass to search isntances of
Class objects or null if the subclass name is not a valid class.
public static Set find(String pckgname,
String clsname,
Class tosubclass)
pckgname - the fully qualified name of the packageclsname - a class in package where to search.tosubclass - the Class object to inherit from
Class objects or null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||