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]
# 1
if you aim to design with a package then you should mount these in your IDE (jbuilder/netbeans/eclipse) and it will reveal all.
talon747 at 2007-7-7 3:04:17 > top of Java-index,Java Essentials,Java Programming...
# 2
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.
kdgregory at 2007-7-7 3:04:17 > top of Java-index,Java Essentials,Java Programming...