Closeable, AutoCloseablepublic class NbClassLoader extends URLClassLoader
ClassPath.getClassLoader(...)| Modifier and Type | Field | Description |
|---|---|---|
protected org.openide.windows.InputOutput |
inout |
I/O for classes defined by this classloader.
|
| Constructor | Description |
|---|---|
NbClassLoader() |
Deprecated.
Misuses classpath.
|
NbClassLoader(org.openide.filesystems.FileObject[] roots,
ClassLoader parent,
org.openide.windows.InputOutput io) |
|
NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems) |
Deprecated.
Misuses classpath.
|
NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems,
ClassLoader parent) |
Deprecated.
Misuses classpath.
|
NbClassLoader(org.openide.windows.InputOutput io) |
Deprecated.
Misuses classpath.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected Class |
findClass(String name) |
|
protected PermissionCollection |
getPermissions(CodeSource cs) |
|
URL |
getResource(String name) |
Create a URL to a resource specified by name.
|
void |
setDefaultPermissions(PermissionCollection defaultPerms) |
Sets a PermissionsCollectio which will be used
for ProtectionDomain of newly created classes.
|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefineClass, defineClassaddURL, close, definePackage, findResource, findResources, getResourceAsStream, getURLs, newInstance, newInstanceprotected org.openide.windows.InputOutput inout
null.public NbClassLoader()
FileSystemCapability#EXECUTE,
FileSystemCapability#fileSystemspublic NbClassLoader(org.openide.windows.InputOutput io)
io - an I/O tab in the Output WindowRepository.getFileSystems()public NbClassLoader(org.openide.filesystems.FileObject[] roots,
ClassLoader parent,
org.openide.windows.InputOutput io)
public NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems)
fileSystems - file systems to load classes frompublic NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems,
ClassLoader parent)
fileSystems - file systems to load classes fromparent - fallback class loaderpublic URL getResource(String name)
getResource in class ClassLoadername - resource namenullprotected Class findClass(String name) throws ClassNotFoundException
findClass in class URLClassLoaderClassNotFoundExceptionpublic void setDefaultPermissions(PermissionCollection defaultPerms)
defaultPerms - protected final PermissionCollection getPermissions(CodeSource cs)
getPermissions in class URLClassLoaderBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.