|
||||||||||
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
ij.io.PluginClassLoader
public class PluginClassLoader
ImageJ uses this class loader to load plugins and resources from the plugins directory and immediate subdirectories. This class loader will also load classes and resources from JAR files.
The class loader searches for classes and resources in the following order:
The class loader does not recurse into subdirectories beyond the first level.
Field Summary | |
---|---|
protected java.lang.String |
path
|
Constructor Summary | |
---|---|
PluginClassLoader(java.lang.String path)
Creates a new PluginClassLoader that searches in the directory path passed as a parameter. |
|
PluginClassLoader(java.lang.String path,
boolean callSuper)
This version of the constructor is used when ImageJ is launched using Java WebStart. |
Method Summary |
---|
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 |
Field Detail |
---|
protected java.lang.String path
Constructor Detail |
---|
public PluginClassLoader(java.lang.String path)
path
- the path to the plugins directory.public PluginClassLoader(java.lang.String path, boolean callSuper)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |