I need to find out a list of classes available (in a particular package)
for use as plugins.
Running as an application I can traverse the classpath and evaluate the
class files, which is clumsy but effective.
However running as an applet, I can't seem to get at anything that gives
me a list of classes available to the classloader.
I would have thought Package would have some means of return an array of
Class, but no joy there..
Currently I am using a list of plugins in a properties file and
instantiating them from there,
but would rather just be able to add the plugins to the appropriate
package and find them at runtime..
Does anyone have any idea how I could go about getting a list of classes
in a package ?
The application is a fractal generator, which you can play with at
http://qlt.net.au/canvas if you like.
All feedback gratefully received ......