|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||
Uses of Class
java.lang.ClassNotFoundException
| Uses of ClassNotFoundException in java.lang |
| Methods in java.lang that throw ClassNotFoundException | |
(package private) static Class |
VMClass.forName(String name,
boolean initialize,
ClassLoader loader)
Load the requested class and record the specified loader as the initiating class loader. |
(package private) static Class |
VMClassLoader.loadClass(String name,
boolean resolve)
Helper to load a class from the bootstrap class loader. |
static Class |
Class.forName(String name)
Use the classloader of the current class to load, link, and initialize a class. |
static Class |
Class.forName(String name,
boolean initialize,
ClassLoader classloader)
Use the specified classloader to load and link a class. |
Class |
ClassLoader.loadClass(String name)
Load a class using this ClassLoader or its parent, without resolving it. |
protected Class |
ClassLoader.loadClass(String name,
boolean resolve)
Load a class using this ClassLoader or its parent, possibly resolving it as well using resolveClass(). |
protected Class |
ClassLoader.findClass(String name)
Called for every class name that is needed but has not yet been defined by this classloader or one of its parents. |
protected Class |
ClassLoader.findSystemClass(String name)
Helper to find a Class using the system classloader, possibly loading it. |
|
|||||||||
| Home >> All >> java >> [ lang overview ] | PREV NEXT | ||||||||