jAER project on SourceForge

net.sf.jaer.util
Class ListClasses

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

public class ListClasses
extends java.lang.Object

Provides a static method that returns a List of all classes on java.class.path starting with root of package name, e.g. "org/netbeans/.." and ending with ".class". Classes that are on IGNORED_CLASSPATH are not scanned.

From http://forums.java.net/jive/thread.jspa?messageID=212405&tstart=0


Field Summary
static java.lang.String[] IGNORED_CLASSPATH
          ListClasses doesn't iterate over classpath classes starting with these strings; this is hack to avoid iterating over standard java classes to avoid running into missing DLLs with JOGL.
 
Constructor Summary
ListClasses()
           
 
Method Summary
static java.util.List<java.lang.String> listClasses()
          Iterate over the system classpath defined by "java.class.path" searching for all .class files available
static void main(java.lang.String[] args)
          Main method used in command-line mode for searching the system classpath for all the .class file available in the classpath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IGNORED_CLASSPATH

public static final java.lang.String[] IGNORED_CLASSPATH
ListClasses doesn't iterate over classpath classes starting with these strings; this is hack to avoid iterating over standard java classes to avoid running into missing DLLs with JOGL.

Constructor Detail

ListClasses

public ListClasses()
Method Detail

main

public static void main(java.lang.String[] args)
Main method used in command-line mode for searching the system classpath for all the .class file available in the classpath

Parameters:
args - command-line arguments

listClasses

public static java.util.List<java.lang.String> listClasses()
Iterate over the system classpath defined by "java.class.path" searching for all .class files available

Returns:
list of all fully qualified class names

jAER project on SourceForge