|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object texturesynthesis.util.RTSI
public class RTSI
This utility class is looking for all the classes implementing or inheriting from a given interface or class. (RunTime Subclass Identification) Adapted from code by Daniel Le Berre. See http://www.javaworld.com/javaworld/javatips/jw-javatip113.html
Constructor Summary | |
---|---|
RTSI()
|
Method Summary | |
---|---|
static java.lang.Object[] |
find(java.lang.String tosubclassname)
Display all the classes inheriting or implementing a given class in the currently loaded packages. |
static java.lang.Object[] |
find(java.lang.String pckgname,
java.lang.Class tosubclass)
Display all the classes inheriting or implementing a given class in a given package. |
static java.lang.Object[] |
find(java.lang.String pckname,
java.lang.String tosubclassname)
Display all the classes inheriting or implementing a given class in a given package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RTSI()
Method Detail |
---|
public static java.lang.Object[] find(java.lang.String tosubclassname)
tosubclassname
- the name of the class to inherit frompublic static java.lang.Object[] find(java.lang.String pckname, java.lang.String tosubclassname)
pckname
- the fully qualified name of the packagetosubclassname
- the name of the class to inherit frompublic static java.lang.Object[] find(java.lang.String pckgname, java.lang.Class tosubclass)
pckgname
- the fully qualified name of the packagetosubclass
- the Class object to inherit from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |