org.jboss.marshalling.river
Class RiverUnmarshaller
java.lang.Object
java.io.InputStream
org.jboss.marshalling.SimpleByteInput
org.jboss.marshalling.ByteInputStream
org.jboss.marshalling.SimpleDataInput
org.jboss.marshalling.AbstractObjectInput
org.jboss.marshalling.AbstractUnmarshaller
org.jboss.marshalling.river.RiverUnmarshaller
- All Implemented Interfaces:
- Closeable, DataInput, ObjectInput, ByteInput, Unmarshaller
public class RiverUnmarshaller
- extends AbstractUnmarshaller
| Fields inherited from class org.jboss.marshalling.AbstractUnmarshaller |
classExternalizerFactory, classResolver, classTable, configuredVersion, exceptionListener, externalizerCreator, objectResolver, objectTable, serializabilityChecker, serializedCreator, streamHeader |
| Methods inherited from class org.jboss.marshalling.SimpleDataInput |
available, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readIntDirect, readLine, readLong, readLongDirect, readShort, readUnsignedByte, readUnsignedByteDirect, readUnsignedShort, skip, skipBytes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataInput |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, skipBytes |
RiverUnmarshaller
protected RiverUnmarshaller(RiverMarshallerFactory marshallerFactory,
SerializableClassRegistry registry,
MarshallingConfiguration configuration)
clearInstanceCache
public void clearInstanceCache()
throws IOException
- Throws:
IOException
clearClassCache
public void clearClassCache()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Specified by:
close in interface ObjectInput- Overrides:
close in class SimpleDataInput
- Throws:
IOException
finish
public void finish()
throws IOException
- Specified by:
finish in interface Unmarshaller- Overrides:
finish in class AbstractUnmarshaller
- Throws:
IOException
doReadObject
protected Object doReadObject(boolean unshared)
throws ClassNotFoundException,
IOException
- Specified by:
doReadObject in class AbstractObjectInput
- Throws:
ClassNotFoundException
IOException
readString
protected String readString()
throws IOException
- Throws:
IOException
start
public void start(ByteInput byteInput)
throws IOException
- Specified by:
start in interface Unmarshaller- Overrides:
start in class AbstractUnmarshaller
- Throws:
IOException
doReadNewObject
protected Object doReadNewObject(int streamClassType,
boolean unshared)
throws ClassNotFoundException,
IOException
- Throws:
ClassNotFoundException
IOException
readFields
protected void readFields(Object obj,
SerializableClassDescriptor descriptor)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
readUTF
public String readUTF()
throws IOException
- Specified by:
readUTF in interface DataInput- Overrides:
readUTF in class SimpleDataInput
- Throws:
IOException
Copyright © 2011 JBoss, a division of Red Hat, Inc.