public class RiverUnmarshaller extends AbstractUnmarshaller
byteInput, classExternalizerFactory, classResolver, classTable, configuredVersion, creator, externalizerFactory, objectResolver, objectTable, streamHeader
Modifier | Constructor and Description |
---|---|
protected |
RiverUnmarshaller(RiverMarshallerFactory marshallerFactory,
SerializableClassRegistry registry,
MarshallingConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
clearClassCache()
Discard the class cache.
|
void |
clearInstanceCache()
Discard the instance cache.
|
void |
close() |
protected java.lang.Object |
doReadNewObject(int streamClassType,
boolean unshared) |
protected java.lang.Object |
doReadObject(boolean unshared)
Implementation of the actual object-reading method.
|
protected void |
doStart()
Perform any unmarshaller-specific start activity.
|
void |
finish()
Finish unmarshalling from a stream.
|
protected void |
readFields(java.lang.Object obj,
SerializableClassDescriptor descriptor) |
protected java.lang.String |
readString() |
java.lang.String |
readUTF() |
available, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readObject, readObjectUnshared, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, skip, skipBytes, start
protected RiverUnmarshaller(RiverMarshallerFactory marshallerFactory, SerializableClassRegistry registry, MarshallingConfiguration configuration)
public void clearInstanceCache() throws java.io.IOException
Unmarshaller
java.io.IOException
- if an error occurspublic void clearClassCache() throws java.io.IOException
Unmarshaller
java.io.IOException
- if an error occurspublic void close() throws java.io.IOException
java.io.IOException
public void finish() throws java.io.IOException
AbstractUnmarshaller
finish
in interface Unmarshaller
finish
in class AbstractUnmarshaller
java.io.IOException
- if an error occursprotected java.lang.Object doReadObject(boolean unshared) throws java.lang.ClassNotFoundException, java.io.IOException
AbstractUnmarshaller
doReadObject
in class AbstractUnmarshaller
unshared
- true
if the instance should be unshared, false
if it is sharedjava.lang.ClassNotFoundException
- if the class for the object could not be loadedjava.io.IOException
- if an I/O error occursprotected java.lang.String readString() throws java.io.IOException
java.io.IOException
protected void doStart() throws java.io.IOException
AbstractUnmarshaller
doStart
in class AbstractUnmarshaller
java.io.IOException
- if I/O exception occursprotected java.lang.Object doReadNewObject(int streamClassType, boolean unshared) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
protected void readFields(java.lang.Object obj, SerializableClassDescriptor descriptor) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
public java.lang.String readUTF() throws java.io.IOException
AbstractUnmarshaller
readUTF
in interface java.io.DataInput
readUTF
in class AbstractUnmarshaller
java.io.IOException