Build 1.0_r1(from source)

java.net
Class URLClassLoader.SubURLClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by java.net.URLClassLoader.SubURLClassLoader
Enclosing class:
URLClassLoader

static class URLClassLoader.SubURLClassLoader
extends URLClassLoader


Nested Class Summary
 
Nested classes/interfaces inherited from class java.net.URLClassLoader
URLClassLoader.SubURLClassLoader
 
Field Summary
 
Fields inherited from class java.net.URLClassLoader
extensions, indexes, invalidUrls, orgUrls, urls
 
Constructor Summary
URLClassLoader.SubURLClassLoader(URL[] urls)
           
URLClassLoader.SubURLClassLoader(URL[] urls, ClassLoader parent)
           
 
Method Summary
protected  Class<?> loadClass(String className, boolean resolveClass)
          Overrides the loadClass() of ClassLoader.
 
Methods inherited from class java.net.URLClassLoader
addURL, addURL, definePackage, explore, findClass, findClassImpl, findInExtensions, findInIndex, findResource, findResourceImpl, findResources, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLClassLoader.SubURLClassLoader

URLClassLoader.SubURLClassLoader(URL[] urls)

URLClassLoader.SubURLClassLoader

URLClassLoader.SubURLClassLoader(URL[] urls,
                                 ClassLoader parent)
Method Detail

loadClass

protected Class<?> loadClass(String className,
                             boolean resolveClass)
                      throws ClassNotFoundException
Overrides the loadClass() of ClassLoader. It calls the security manager's checkPackageAccess() before attempting to load the class.

Overrides:
loadClass in class ClassLoader
Parameters:
className - String the name of the class to search for.
resolveClass - boolean indicates if class should be resolved after loading.
Returns:
the Class object.
Throws:
ClassNotFoundException - If the class could not be found.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature