org.mortbay.util
Class Loader
public class Loader
extends java.lang.Object
ClassLoader Helper.
This helper class allows classes to be loaded either from the
Thread's ContextClassLoader, the classloader of the derived class
or the system ClassLoader.
Usage:
public class MyClass {
void myMethod() {
...
Class c=Loader.loadClass(this.getClass(),classname);
...
}
$Id: Loader.java,v 1.4 2004/11/05 07:09:33 gregwilkins Exp $static Class | loadClass(Class loadClass, String name)
|
loadClass
public static Class loadClass(Class loadClass,
String name)
throws ClassNotFoundException
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.