How to access java classes in a subfolder.

Posted by Jacob on Stack Overflow See other posts from Stack Overflow or by Jacob
Published on 2010-05-07T05:34:37Z Indexed on 2010/05/07 5:38 UTC
Read the original article Hit count: 195

Filed under:
|

Hi all. I'm trying to make a program that can load an unknown set of plugins from a sub-folder, "Plugins". All of these plugins implement the same interface. What I need to know is how do I find all of the classes in this folder so that I can instantiate and use them?

© Stack Overflow or respective owner

Related posts about java

Related posts about classes