java.rmi
static class: MarshalledObject.MarshalledObjectInputStream [javadoc |
source]
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
sun.rmi.server.MarshalInputStream
java.rmi.MarshalledObject$MarshalledObjectInputStream
All Implemented Interfaces:
ObjectInput, ObjectStreamConstants, Closeable
The counterpart to
MarshalledObjectOutputStream.
| Constructor: |
MarshalledObjectInputStream(InputStream objIn,
InputStream locIn) throws IOException {
super(objIn);
this.locIn = (locIn == null ? null : new ObjectInputStream(locIn));
}
Creates a new MarshalledObjectInputStream that
reads its objects from objIn and annotations
from locIn. If locIn is
null, then all annotations will be
null. |
| Method from java.rmi.MarshalledObject$MarshalledObjectInputStream Summary: |
|---|
|
readLocation |
| 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.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from java.rmi.MarshalledObject$MarshalledObjectInputStream Detail: |
protected Object readLocation() throws ClassNotFoundException, IOException {
return (locIn == null ? null : locIn.readObject());
}
Overrides MarshalInputStream.readLocation to return locations from
the stream we were given, or null if we were given a
null location stream. |