|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader org.sadun.util.AutoClassLoader
A ClassLoader implementation which looks up the JARs in classpath and loads them individually, without the need of specifying one by one. The JARs are loaded in the same order they appear in the directory listing.
Constructor Summary | |
AutoClassLoader()
Creates new AutoClassLoader |
|
AutoClassLoader(java.lang.ClassLoader parent)
Creates new AutoClassLoader |
Method Summary | |
protected java.lang.Class |
findClass(java.lang.String name)
Finds a class in the expanded class path |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AutoClassLoader()
public AutoClassLoader(java.lang.ClassLoader parent)
Method Detail |
protected java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
- if the class cannot be foundpublic static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |