|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mospace.lang.RTSI
public class RTSI
This utility class is looking for all the public classes implementing or inheriting from a given interface or class that can be instantiated with a zero-argument constructor. (RunTime Subclass Identification)
| Constructor Summary | |
|---|---|
RTSI()
|
|
RTSI(ClassLoader cl)
|
|
| Method Summary | |
|---|---|
static void |
addLogHandler(Handler lh)
|
static ClassLoader |
createLibClassLoader(File libdir)
deprecated use a ClassLoaderProvider instead |
static ClassLoader |
createLibClassLoader(File[] libdir)
deprecated use a ClassLoaderProvider instead |
void |
find(String tosubclassname)
Display all the classes inheriting or implementing a given class in the currently loaded packages. |
String[] |
find(String pckgname,
Class tosubclass)
Display all the classes inheriting or implementing a given class in a given package. |
String[] |
find(String pckname,
Class tosubclass,
File configdir,
String buildprop,
String buildval)
property cache |
String[] |
find(String pckname,
Class tosubclass,
Preferences pref,
String buildprop,
String buildval)
pref cache |
void |
find(String pckname,
String tosubclassname)
Display all the classes inheriting or implementing a given class in a given package. |
ClassLoader |
getClassLoader()
|
void |
main(String[] args)
|
boolean |
testClass(String classname,
Class tosubclass)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RTSI()
public RTSI(ClassLoader cl)
| Method Detail |
|---|
public static ClassLoader createLibClassLoader(File libdir)
public static ClassLoader createLibClassLoader(File[] libdir)
public ClassLoader getClassLoader()
public static void addLogHandler(Handler lh)
public void find(String tosubclassname)
tosubclassname - the name of the class to inherit from
public void find(String pckname,
String tosubclassname)
pckname - the fully qualified name of the packagetosubclassname - the name of the class to inherit from
public String[] find(String pckname,
Class tosubclass,
Preferences pref,
String buildprop,
String buildval)
public String[] find(String pckname,
Class tosubclass,
File configdir,
String buildprop,
String buildval)
public String[] find(String pckgname,
Class tosubclass)
pckgname - the fully qualified name of the packagetosubclass - the Class object to inherit frompublic void main(String[] args)
public boolean testClass(String classname,
Class tosubclass)
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||