|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
net.sf.jeters.core.ComponentClassLoader
public class ComponentClassLoader
ClassLoader used for getting classes from the component folder
Constructor Summary | |
---|---|
ComponentClassLoader(java.io.File componentDirectory)
constructor |
Method Summary | |
---|---|
void |
addJarsToClasspath()
adds all jars in the componentDirectory to the loader's classpath |
void |
addToClasspath(java.io.File file)
adds a file/directory to the loader's classpath |
Methods inherited from class java.net.URLClassLoader |
---|
addURL, definePackage, findClass, findResource, findResources, getPermissions, getURLs, newInstance, newInstance |
Methods inherited from class java.security.SecureClassLoader |
---|
defineClass, defineClass |
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, 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 ComponentClassLoader(java.io.File componentDirectory) throws java.net.MalformedURLException
componentDirectory
- the component directory, must not be null
java.net.MalformedURLException
Method Detail |
---|
public void addToClasspath(java.io.File file) throws java.net.MalformedURLException
file
- the file/directory to add
java.net.MalformedURLException
public void addJarsToClasspath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |