List the contents of a Java package

iconara

Registered
I have a package of classes in Java which is called "net.iconara.app.MLib.commands". I would like to get a listing of the classes that it contains, from within a Java program, much like I can get a listing when running JavaBrowser.

The package contains commands that act as extensions which are loaded at runtime - which in turn means that I cannot be sure which extensions are available. Now, I would like to present the user with a list of available extensions, but I'm not sure how. I have been playing around with the Class and Package classes, but they don't seem to have that capability.

theo hultberg/iconara
 
Back
Top