Package 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,AutoCloseable,org.jboss.marshalling.ByteInput,org.jboss.marshalling.Unmarshaller
public class RiverUnmarshaller extends org.jboss.marshalling.AbstractUnmarshaller
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRiverUnmarshaller(RiverMarshallerFactory marshallerFactory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearClassCache()voidclearInstanceCache()voidclose()protected voiddiscardFields(org.jboss.marshalling.river.SerializableClassDescriptor descriptor)protected ObjectdoReadNewObject(int streamClassType, boolean unshared, boolean discardMissing)protected ObjectdoReadObject(boolean unshared)voidfinish()protected voidreadFields(Object obj, org.jboss.marshalling.river.SerializableClassDescriptor descriptor, boolean discardMissing)protected StringreadString()StringreadUTF()voidstart(org.jboss.marshalling.ByteInput byteInput)-
Methods inherited from class org.jboss.marshalling.AbstractObjectInput
readObject, readObject, readObjectUnshared, readObjectUnshared
-
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.io.InputStream
mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, transferTo
-
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
-
Methods inherited from interface java.io.ObjectInput
available, read, read, read, readObject, skip
-
-
-
-
Constructor Detail
-
RiverUnmarshaller
protected RiverUnmarshaller(RiverMarshallerFactory marshallerFactory, org.jboss.marshalling.reflect.SerializableClassRegistry registry, org.jboss.marshalling.MarshallingConfiguration configuration)
-
-
Method Detail
-
clearInstanceCache
public void clearInstanceCache() throws IOException- Throws:
IOException
-
clearClassCache
public void clearClassCache() throws IOException- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceObjectInput- Overrides:
closein classorg.jboss.marshalling.SimpleDataInput- Throws:
IOException
-
finish
public void finish() throws IOException- Specified by:
finishin interfaceorg.jboss.marshalling.Unmarshaller- Overrides:
finishin classorg.jboss.marshalling.AbstractUnmarshaller- Throws:
IOException
-
doReadObject
protected Object doReadObject(boolean unshared) throws ClassNotFoundException, IOException
- Specified by:
doReadObjectin classorg.jboss.marshalling.AbstractObjectInput- Throws:
ClassNotFoundExceptionIOException
-
readString
protected String readString() throws IOException
- Throws:
IOException
-
start
public void start(org.jboss.marshalling.ByteInput byteInput) throws IOException- Specified by:
startin interfaceorg.jboss.marshalling.Unmarshaller- Overrides:
startin classorg.jboss.marshalling.AbstractUnmarshaller- Throws:
IOException
-
doReadNewObject
protected Object doReadNewObject(int streamClassType, boolean unshared, boolean discardMissing) throws ClassNotFoundException, IOException
- Throws:
ClassNotFoundExceptionIOException
-
readFields
protected void readFields(Object obj, org.jboss.marshalling.river.SerializableClassDescriptor descriptor, boolean discardMissing) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
discardFields
protected void discardFields(org.jboss.marshalling.river.SerializableClassDescriptor descriptor) throws IOException- Throws:
IOException
-
readUTF
public String readUTF() throws IOException
- Specified by:
readUTFin interfaceDataInput- Overrides:
readUTFin classorg.jboss.marshalling.SimpleDataInput- Throws:
IOException
-
-