| java.lang.Object java.lang.ClassLoader org.netbeans.ProxyClassLoader org.netbeans.JarClassLoader
JarClassLoader | public class JarClassLoader extends ProxyClassLoader (Code) | | A ProxyClassLoader capable of loading classes from a set of jar files
and local directories.
author: Petr Nejedly |
Inner Class :abstract static class Source | |
Inner Class :static class JarSource extends Source | |
Inner Class :static class DirSource extends Source | |
JarClassLoader | public JarClassLoader(List<File> files, ClassLoader[] parents)(Code) | | Creates new JarClassLoader.
Gives transitive flag as true.
|
addSources | final void addSources(List<File> newSources)(Code) | | Boot classloader needs to add entries for netbeans.user later.
|
destroy | public void destroy()(Code) | | |
initializeCache | static void initializeCache()(Code) | | |
saveArchive | public static void saveArchive()(Code) | | Creates a new archive or updates existing archive with the necessary
resources gathered so far. It also stops gatheing and serving
additional request, if it was still doing so.
|
Methods inherited from org.netbeans.ProxyClassLoader | final protected void addCoveredPackages(Iterable<String> coveredPackages)(Code)(Java Doc) public void append(ClassLoader[] nueparents) throws IllegalArgumentException(Code)(Java Doc) protected Package definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase) throws IllegalArgumentException(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected Class doLoadClass(String pkg, String name)(Code)(Java Doc) protected URL findResource(String name)(Code)(Java Doc) final protected synchronized Enumeration<URL> findResources(String name) throws IOException(Code)(Java Doc) protected Package getPackage(String name)(Code)(Java Doc) public Package getPackageAccessibly(String name)(Code)(Java Doc) protected Package getPackageFast(String name, boolean recurse)(Code)(Java Doc) protected synchronized Package[] getPackages()(Code)(Java Doc) public Package[] getPackagesAccessibly()(Code)(Java Doc) final public URL getResource(String name)(Code)(Java Doc) protected synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc) final protected void setSystemClassLoader(ClassLoader s)(Code)(Java Doc) protected boolean shouldDelegateResource(String pkg, ClassLoader parent)(Code)(Java Doc) protected Enumeration<URL> simpleFindResources(String name) throws IOException(Code)(Java Doc)
|
Methods inherited from java.lang.ClassLoader | public synchronized void clearAssertionStatus()(Code)(Java Doc) final protected Class> defineClass(byte[] b, int off, int len) throws ClassFormatError(Code)(Java Doc) final protected Class> defineClass(String name, byte[] b, int off, int len) throws ClassFormatError(Code)(Java Doc) final protected Class> defineClass(String name, byte[] b, int off, int len, ProtectionDomain protectionDomain) throws ClassFormatError(Code)(Java Doc) final protected Class> defineClass(String name, java.nio.ByteBuffer b, ProtectionDomain protectionDomain) throws ClassFormatError(Code)(Java Doc) protected Package definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase) throws IllegalArgumentException(Code)(Java Doc) protected Class> findClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected String findLibrary(String libname)(Code)(Java Doc) final protected Class> findLoadedClass(String name)(Code)(Java Doc) protected URL findResource(String name)(Code)(Java Doc) protected Enumeration<URL> findResources(String name) throws IOException(Code)(Java Doc) final protected Class> findSystemClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected Package getPackage(String name)(Code)(Java Doc) protected Package[] getPackages()(Code)(Java Doc) final public ClassLoader getParent()(Code)(Java Doc) public URL getResource(String name)(Code)(Java Doc) public InputStream getResourceAsStream(String name)(Code)(Java Doc) public Enumeration<URL> getResources(String name) throws IOException(Code)(Java Doc) public static ClassLoader getSystemClassLoader()(Code)(Java Doc) public static URL getSystemResource(String name)(Code)(Java Doc) public static InputStream getSystemResourceAsStream(String name)(Code)(Java Doc) public static Enumeration<URL> getSystemResources(String name) throws IOException(Code)(Java Doc) public Class> loadClass(String name) throws ClassNotFoundException(Code)(Java Doc) protected synchronized Class> loadClass(String name, boolean resolve) throws ClassNotFoundException(Code)(Java Doc) final protected void resolveClass(Class> c)(Code)(Java Doc) public synchronized void setClassAssertionStatus(String className, boolean enabled)(Code)(Java Doc) public synchronized void setDefaultAssertionStatus(boolean enabled)(Code)(Java Doc) public synchronized void setPackageAssertionStatus(String packageName, boolean enabled)(Code)(Java Doc) final protected void setSigners(Class> c, Object[] signers)(Code)(Java Doc)
|
|
|