public class PluginClassLoader extends URLClassLoader
The class loader searches for classes and resources in the following order:
The class loader does not recurse into subdirectories beyond the first level.
| Constructor and Description |
|---|
PluginClassLoader(String path)
Creates a new PluginClassLoader that searches in the directory path
passed as a parameter.
|
PluginClassLoader(String path,
boolean callSuper)
This version of the constructor is used when ImageJ is launched using Java WebStart.
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstancedefineClass, defineClassclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersprotected String path
public PluginClassLoader(String path)
path - the path to the plugins directory.public PluginClassLoader(String path, boolean callSuper)
Copyright © 1997–2018 NIH. All rights reserved.