listing classes/interfaces in a package
Is there a way for an application to get a list of all the classes (loaded and unloaded) in specified package (if not the classes themselves)?
[149 byte] By [
sledged] at [2007-9-30 21:32:43]

Start with System.getProperty("java.class.path") and find all files in the referenced directories and jars that end with .classHowever, this is no guarantee that the next time your program runs, the classpath will have more or fewer classes on it.