org.jboss.marshalling.river
Class RiverObjectInputStream
java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
org.jboss.marshalling.MarshallerObjectInputStream
org.jboss.marshalling.river.RiverObjectInputStream
- All Implemented Interfaces:
- Closeable, DataInput, ObjectInput, ObjectStreamConstants, ByteInput
public class RiverObjectInputStream
- extends MarshallerObjectInputStream
| Fields inherited from interface java.io.ObjectStreamConstants |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING |
| Methods inherited from class org.jboss.marshalling.MarshallerObjectInputStream |
available, close, enableResolveObject, mark, markSupported, readClassDescriptor, readStreamHeader, reset, resolveClass, resolveObject, resolveProxyClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RiverObjectInputStream
protected RiverObjectInputStream(RiverUnmarshaller riverUnmarshaller,
BlockUnmarshaller delegateUnmarshaller)
throws IOException,
SecurityException
- Throws:
IOException
SecurityException
defaultReadObject
public void defaultReadObject()
throws IOException,
ClassNotFoundException
- Specified by:
defaultReadObject in class MarshallerObjectInputStream
- Throws:
IOException
ClassNotFoundException
readFields
public ObjectInputStream.GetField readFields()
throws IOException,
ClassNotFoundException
- Specified by:
readFields in class MarshallerObjectInputStream
- Throws:
IOException
ClassNotFoundException
registerValidation
public void registerValidation(ObjectInputValidation obj,
int prio)
throws NotActiveException,
InvalidObjectException
- Specified by:
registerValidation in class MarshallerObjectInputStream
- Throws:
NotActiveException
InvalidObjectException
swapClass
protected SerializableClassDescriptor swapClass(SerializableClassDescriptor descriptor)
swapCurrent
protected Object swapCurrent(Object obj)
start
protected int start()
finish
protected void finish(int restoreState)
throws IOException
- Throws:
IOException
readObjectOverride
protected Object readObjectOverride()
throws IOException,
ClassNotFoundException
- Overrides:
readObjectOverride in class MarshallerObjectInputStream
- Throws:
IOException
ClassNotFoundException
readUnshared
public Object readUnshared()
throws IOException,
ClassNotFoundException
- Overrides:
readUnshared in class MarshallerObjectInputStream
- Throws:
IOException
ClassNotFoundException
read
public int read()
throws IOException
- Specified by:
read in interface ObjectInput- Specified by:
read in interface ByteInput- Overrides:
read in class MarshallerObjectInputStream
- Throws:
IOException
read
public int read(byte[] buf)
throws IOException
- Specified by:
read in interface ObjectInput- Specified by:
read in interface ByteInput- Overrides:
read in class MarshallerObjectInputStream
- Throws:
IOException
read
public int read(byte[] buf,
int off,
int len)
throws IOException
- Specified by:
read in interface ObjectInput- Specified by:
read in interface ByteInput- Overrides:
read in class MarshallerObjectInputStream
- Throws:
IOException
readBoolean
public boolean readBoolean()
throws IOException
- Specified by:
readBoolean in interface DataInput- Overrides:
readBoolean in class MarshallerObjectInputStream
- Throws:
IOException
readByte
public byte readByte()
throws IOException
- Specified by:
readByte in interface DataInput- Overrides:
readByte in class MarshallerObjectInputStream
- Throws:
IOException
readUnsignedByte
public int readUnsignedByte()
throws IOException
- Specified by:
readUnsignedByte in interface DataInput- Overrides:
readUnsignedByte in class MarshallerObjectInputStream
- Throws:
IOException
readChar
public char readChar()
throws IOException
- Specified by:
readChar in interface DataInput- Overrides:
readChar in class MarshallerObjectInputStream
- Throws:
IOException
readShort
public short readShort()
throws IOException
- Specified by:
readShort in interface DataInput- Overrides:
readShort in class MarshallerObjectInputStream
- Throws:
IOException
readUnsignedShort
public int readUnsignedShort()
throws IOException
- Specified by:
readUnsignedShort in interface DataInput- Overrides:
readUnsignedShort in class MarshallerObjectInputStream
- Throws:
IOException
readInt
public int readInt()
throws IOException
- Specified by:
readInt in interface DataInput- Overrides:
readInt in class MarshallerObjectInputStream
- Throws:
IOException
readLong
public long readLong()
throws IOException
- Specified by:
readLong in interface DataInput- Overrides:
readLong in class MarshallerObjectInputStream
- Throws:
IOException
readFloat
public float readFloat()
throws IOException
- Specified by:
readFloat in interface DataInput- Overrides:
readFloat in class MarshallerObjectInputStream
- Throws:
IOException
readDouble
public double readDouble()
throws IOException
- Specified by:
readDouble in interface DataInput- Overrides:
readDouble in class MarshallerObjectInputStream
- Throws:
IOException
readFully
public void readFully(byte[] buf)
throws IOException
- Specified by:
readFully in interface DataInput- Overrides:
readFully in class MarshallerObjectInputStream
- Throws:
IOException
readFully
public void readFully(byte[] buf,
int off,
int len)
throws IOException
- Specified by:
readFully in interface DataInput- Overrides:
readFully in class MarshallerObjectInputStream
- Throws:
IOException
skipBytes
public int skipBytes(int len)
throws IOException
- Specified by:
skipBytes in interface DataInput- Overrides:
skipBytes in class MarshallerObjectInputStream
- Throws:
IOException
readLine
@Deprecated
public String readLine()
throws IOException
- Deprecated.
- Specified by:
readLine in interface DataInput- Overrides:
readLine in class MarshallerObjectInputStream
- Throws:
IOException
readUTF
public String readUTF()
throws IOException
- Specified by:
readUTF in interface DataInput- Overrides:
readUTF in class MarshallerObjectInputStream
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Specified by:
skip in interface ObjectInput- Specified by:
skip in interface ByteInput- Overrides:
skip in class MarshallerObjectInputStream
- Throws:
IOException
fullReset
protected void fullReset()
noCustomData
protected void noCustomData()
getRestoreIdx
protected int getRestoreIdx()
Copyright © 2011 JBoss, a division of Red Hat, Inc.