Java Tips Weblog

  • Blog Stats

    • 1,843,999 hits
  • Categories

  • Archives

Archive for the ‘Net’ Category

File Class Loader

Posted by Darryl Burke on December 9, 2008

Loading a Java class identified at runtime can be a daunting task. When faced with the challenge, one naturally turns first to the standard ClassLoader and its subclasses. However, many methods that look interesting are protected and/or final, and cannot be used directly.

FileClassLoader extends java.net.URLClassLoader to provide useful functionality for loading a class from its compiled class file.

Read the rest of this entry »

Posted in Extensions, Net | 2 Comments »