public class IsolatedClassLoader
extends java.net.URLClassLoader
| Constructor and Description |
|---|
IsolatedClassLoader(java.net.URL... urls)
Creates a new isolated class loader for the given URLs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPath(java.nio.file.Path path)
Adds a path to the classpath.
|
void |
addURL(java.net.URL url)
Adds a URL to the classpath.
|
close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstanceclearAssertionStatus, 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, setSigners