站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.lang.ClassNotFoundException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.lang.ClassNotFoundException

Packages that use ClassNotFoundException
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
java.beans Contains classes related to Java Beans development. 
java.beans.beancontext Provides classes and interfaces relating to bean context. 
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.net Provides the classes for implementing networking applications. 
java.rmi Provides the RMI package. 
java.rmi.server Provides classes and interfaces for supporting the server side of RMI. 
java.security Provides the classes and interfaces for the security framework. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
 

Uses of ClassNotFoundException in java.awt.datatransfer
 

Methods in java.awt.datatransfer that throw ClassNotFoundException
protected static Class DataFlavor.tryToLoadClass(String className, ClassLoader fallback)
          tried to load a class from: the bootstrap loader, the system loader, the context loader (if one is present) and finally the loader specified
 void DataFlavor.readExternal(ObjectInput is)
          restore this DataFlavor from an Serialized state
static DataFlavor SystemFlavorMap.decodeDataFlavor(String atom)
           
 

Constructors in java.awt.datatransfer that throw ClassNotFoundException
DataFlavor.DataFlavor(String mimeType, String humanPresentableName, ClassLoader classLoader)
          Construct a DataFlavor that represents a MimeType
DataFlavor.DataFlavor(String mimeType)
          Construct a DataFlavor from a Mime Type string.
 

Uses of ClassNotFoundException in java.beans
 

Methods in java.beans that throw ClassNotFoundException
static Object Beans.instantiate(ClassLoader cls, String beanName)
           Instantiate a JavaBean.
static Object Beans.instantiate(ClassLoader cls, String beanName, BeanContext beanContext)
           Instantiate a JavaBean.
static Object Beans.instantiate(ClassLoader cls, String beanName, BeanContext beanContext, AppletInitializer initializer)
          Instantiate a bean.
 

Uses of ClassNotFoundException in java.beans.beancontext
 

Methods in java.beans.beancontext that throw ClassNotFoundException
 Object BeanContextSupport.instantiateChild(String beanName)
           The instantiateChild method is a convenience hook in BeanContext to simplify the task of instantiating a Bean, nested, into a BeanContext.
protected  void BeanContextSupport.bcsPreDeserializationHook(ObjectInputStream ois)
          called by readObject after defaultReadObject() but prior to deserialization of any children.
protected  void BeanContextSupport.deserialize(ObjectInputStream ois, Collection coll)
          used by readObject to deserialize a collection
 void BeanContextSupport.readChildren(ObjectInputStream ois)
          When an instance of this class is used as a delegate for the implementation of the BeanContext protocols (and its subprotocols) there exists a 'chicken and egg' problem during deserialization
protected  void BeanContextServicesSupport.bcsPreDeserializationHook(ObjectInputStream ois)
          called from BeanContextSupport readObject before it deserializes the children ...
 Object BeanContext.instantiateChild(String beanName)
          Instantiate the javaBean named as a child of this BeanContext
 

Uses of ClassNotFoundException in java.io
 

Methods in java.io that throw ClassNotFoundException
 Object ObjectInput.readObject()
          Read and return an object.
 void Externalizable.readExternal(ObjectInput in)
          The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.
 Object ObjectInputStream.readObject()
          Read an object from the ObjectInputStream.
protected  Object ObjectInputStream.readObjectOverride()
          This method is called by trusted subclasses of ObjectOutputStream that constructed ObjectOutputStream using the protected no-arg constructor.
 void ObjectInputStream.defaultReadObject()
          Read the non-static and non-transient fields of the current class from this stream.
 ObjectInputStream.GetField ObjectInputStream.readFields()
          Reads the persistent fields from the stream and makes them available by name.
protected  Class ObjectInputStream.resolveClass(ObjectStreamClass v)
          Load the local class equivalent of the specified stream class description.
 

Uses of ClassNotFoundException in java.lang
 

Methods in java.lang that throw ClassNotFoundException
 Class ClassLoader.loadClass(String name)
          Loads the class with the specified name.
protected  Class ClassLoader.loadClass(String name, boolean resolve)
          Loads the class with the specified name.
protected  Class ClassLoader.findClass(String name)
          Finds the specified class.
protected  Class ClassLoader.findSystemClass(String name)
          Finds a class with the specified name, loading it if necessary.
static Class Class.forName(String className)
          Returns the Class object associated with the class or interface with the given string name.
static Class Class.forName(String name, boolean initialize, ClassLoader loader)
          Returns the Class object associated with the class or interface with the given string name, using the given class loader.
 

Uses of ClassNotFoundException in java.net
 

Methods in java.net that throw ClassNotFoundException
protected  Class URLClassLoader.findClass(String name)
          Finds and loads the class with the specified name from the URL search path.
 

Uses of ClassNotFoundException in java.rmi
 

Methods in java.rmi that throw ClassNotFoundException
 Object MarshalledObject.get()
          Returns a new copy of the contained marshalledobject.
 

Uses of ClassNotFoundException in java.rmi.server
 

Methods in java.rmi.server that throw ClassNotFoundException
 Class LoaderHandler.loadClass(String name)
          Deprecated. no replacement
 Class LoaderHandler.loadClass(URL codebase, String name)
          Deprecated. no replacement
static Class RMIClassLoader.loadClass(String name)
          Deprecated. replaced by loadClass(String,String) method
static Class RMIClassLoader.loadClass(URL codebase, String name)
          Load a class from a codebase URL.
static Class RMIClassLoader.loadClass(String codebase, String name)
          Load a class from a codebase URL path.
 

Uses of ClassNotFoundException in java.security
 

Methods in java.security that throw ClassNotFoundException
 Object SignedObject.getObject()
          Retrieves the encapsulated object.
 

Uses of ClassNotFoundException in javax.swing
 

Methods in javax.swing that throw ClassNotFoundException
static void UIManager.setLookAndFeel(String className)
          Set the current default look and feel using a class name.
 

Uses of ClassNotFoundException in javax.swing.text
 

Methods in javax.swing.text that throw ClassNotFoundException
 void StyleContext.readAttributes(ObjectInputStream in, MutableAttributeSet a)
          Context-specific handling of reading in attributes
static void StyleContext.readAttributeSet(ObjectInputStream in, MutableAttributeSet a)
          Reads a set of attributes from the given object input stream that have been previously written out with writeAttributeSet.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.