com.threerings.io
Class UnreliableObjectInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
java.io.DataInputStream
com.threerings.io.ObjectInputStream
com.threerings.io.UnreliableObjectInputStream
- All Implemented Interfaces:
- Closeable, DataInput
public class UnreliableObjectInputStream
- extends ObjectInputStream
The counterpart of UnreliableObjectOutputStream.
| Methods inherited from class com.threerings.io.ObjectInputStream |
addTranslation, createClassMapping, defaultReadObject, readBareObject, readBareObject, readClassMapping, readIntern, readObject, readUnmodifiedUTF, setClassLoader, toString |
| Methods inherited from class java.io.DataInputStream |
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes |
UnreliableObjectInputStream
public UnreliableObjectInputStream(InputStream source)
- Constructs an object input stream which will read its data from the supplied source stream.
mapClass
protected com.threerings.io.ClassMapping mapClass(short code,
String cname)
throws IOException,
ClassNotFoundException
- Description copied from class:
ObjectInputStream
- Creates, adds, and returns the class mapping for the specified code and class name.
- Overrides:
mapClass in class ObjectInputStream
- Throws:
IOException
ClassNotFoundException
mapIntern
protected void mapIntern(short code,
String value)
- Description copied from class:
ObjectInputStream
- Adds the intern mapping for the specified code and value.
- Overrides:
mapIntern in class ObjectInputStream