How to create instance of class File?
<p>I've taken a class file(say <code>Foo.class</code>) using JFileChooser and stored it in a File class object(say <code>File a</code>).
now I've to read metadata like methods and variables of this <code>Foo.class</code> using reflection APIs.
My question is that, I've stored it in <code>a</code>, which is just a <code>File reference variable</code>. So how can I use any API on a File.
or any other suggestion for doing so are also welcomed.</p>