public class NbClassLoader
extends java.net.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,
java.lang.ClassLoader parent,
org.openide.windows.InputOutput io) |
|
NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems) |
Deprecated.
Misuses classpath.
|
NbClassLoader(org.openide.filesystems.FileSystem[] fileSystems,
java.lang.ClassLoader parent) |
Deprecated.
Misuses classpath.
|
NbClassLoader(org.openide.windows.InputOutput io) |
Deprecated.
Misuses classpath.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected java.lang.Class |
findClass(java.lang.String name) |
|
protected java.security.PermissionCollection |
getPermissions(java.security.CodeSource cs) |
|
java.net.URL |
getResource(java.lang.String name) |
Create a URL to a resource specified by name.
|
void |
setDefaultPermissions(java.security.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, setSignersprotected 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,
java.lang.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,
java.lang.ClassLoader parent)
fileSystems - file systems to load classes fromparent - fallback class loaderpublic java.net.URL getResource(java.lang.String name)
getResource in class java.lang.ClassLoadername - resource namenullprotected java.lang.Class findClass(java.lang.String name)
throws java.lang.ClassNotFoundException
findClass in class java.net.URLClassLoaderjava.lang.ClassNotFoundExceptionpublic void setDefaultPermissions(java.security.PermissionCollection defaultPerms)
defaultPerms - protected final java.security.PermissionCollection getPermissions(java.security.CodeSource cs)
getPermissions in class java.net.URLClassLoaderBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.