Home » openjdk-7 » java » beans » [javadoc | source]
java.beans
class: ObjectInputStreamWithLoader [javadoc | source]
java.lang.Object
   java.io.InputStream
      java.io.ObjectInputStream
         java.beans.ObjectInputStreamWithLoader

All Implemented Interfaces:
    ObjectInput, ObjectStreamConstants, Closeable

This subclass of ObjectInputStream delegates loading of classes to an existing ClassLoader.
Constructor:
 public ObjectInputStreamWithLoader(InputStream in,
    ClassLoader loader) throws IOException, StreamCorruptedException 
    Loader must be non-null;
Method from java.beans.ObjectInputStreamWithLoader Summary:
resolveClass
Methods from java.io.ObjectInputStream:
available,   close,   defaultReadObject,   enableResolveObject,   read,   read,   readBoolean,   readByte,   readChar,   readClassDescriptor,   readDouble,   readFields,   readFloat,   readFully,   readFully,   readInt,   readLine,   readLong,   readObject,   readObjectOverride,   readShort,   readStreamHeader,   readTypeString,   readUTF,   readUnshared,   readUnsignedByte,   readUnsignedShort,   registerValidation,   resolveClass,   resolveObject,   resolveProxyClass,   skipBytes
Methods from java.io.InputStream:
available,   close,   mark,   markSupported,   read,   read,   read,   reset,   skip
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.beans.ObjectInputStreamWithLoader Detail:
 protected Class resolveClass(ObjectStreamClass classDesc) throws IOException, ClassNotFoundException 
    Use the given ClassLoader rather than using the system class