jAER project on SourceForge

net.sf.jaer.util
Class SubclassFinder

java.lang.Object
  extended by net.sf.jaer.util.SubclassFinder

public class SubclassFinder
extends java.lang.Object

Finds subclasses of a given class name in classes on the loaded classpath.

See http://www.javaworld.com/javaworld/javatips/jw-javatip113.html?page=2

Author:
tobi

Method Summary
static java.util.ArrayList<java.lang.String> findSubclassesOf(java.lang.String superClassName)
          Finds and returns list of all subclases of a class
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findSubclassesOf

public static java.util.ArrayList<java.lang.String> findSubclassesOf(java.lang.String superClassName)
Finds and returns list of all subclases of a class

Parameters:
superClassName - the fully qualified name, e.g. net.sf.jaer.chip.AEChip
Returns:
list of fully qualified class names that are subclasses (and not the same as) the argument

main

public static void main(java.lang.String[] args)

jAER project on SourceForge