
public class RiverObjectInputStream extends MarshallerObjectInputStream
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| Modifier | Constructor and Description |
|---|---|
protected |
RiverObjectInputStream(RiverUnmarshaller riverUnmarshaller,
BlockUnmarshaller delegateUnmarshaller) |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultReadObject() |
protected void |
finish(int restoreState) |
protected void |
fullReset() |
protected int |
getRestoreIdx() |
protected void |
noCustomData() |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
java.io.ObjectInputStream.GetField |
readFields() |
float |
readFloat() |
void |
readFully(byte[] buf) |
void |
readFully(byte[] buf,
int off,
int len) |
int |
readInt() |
java.lang.String |
readLine()
Deprecated.
|
long |
readLong() |
protected java.lang.Object |
readObjectOverride() |
short |
readShort() |
java.lang.Object |
readUnshared() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
java.lang.String |
readUTF() |
void |
registerValidation(java.io.ObjectInputValidation obj,
int prio) |
long |
skip(long n) |
int |
skipBytes(int len) |
protected int |
start() |
protected SerializableClassDescriptor |
swapClass(SerializableClassDescriptor descriptor) |
protected java.lang.Object |
swapCurrent(java.lang.Object obj) |
available, close, enableResolveObject, mark, markSupported, readClassDescriptor, readStreamHeader, reset, resolveClass, resolveObject, resolveProxyClassprotected RiverObjectInputStream(RiverUnmarshaller riverUnmarshaller, BlockUnmarshaller delegateUnmarshaller) throws java.io.IOException, java.lang.SecurityException
java.io.IOExceptionjava.lang.SecurityExceptionpublic void defaultReadObject()
throws java.io.IOException,
java.lang.ClassNotFoundException
defaultReadObject in class MarshallerObjectInputStreamjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic java.io.ObjectInputStream.GetField readFields()
throws java.io.IOException,
java.lang.ClassNotFoundException
readFields in class MarshallerObjectInputStreamjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void registerValidation(java.io.ObjectInputValidation obj,
int prio)
throws java.io.NotActiveException,
java.io.InvalidObjectException
registerValidation in class MarshallerObjectInputStreamjava.io.NotActiveExceptionjava.io.InvalidObjectExceptionprotected SerializableClassDescriptor swapClass(SerializableClassDescriptor descriptor)
protected java.lang.Object swapCurrent(java.lang.Object obj)
protected int start()
protected void finish(int restoreState)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.Object readObjectOverride()
throws java.io.IOException,
java.lang.ClassNotFoundException
readObjectOverride in class MarshallerObjectInputStreamjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic java.lang.Object readUnshared()
throws java.io.IOException,
java.lang.ClassNotFoundException
readUnshared in class MarshallerObjectInputStreamjava.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic int read()
throws java.io.IOException
read in interface java.io.ObjectInputread in interface ByteInputread in class MarshallerObjectInputStreamjava.io.IOExceptionpublic int read(byte[] buf)
throws java.io.IOException
read in interface java.io.ObjectInputread in interface ByteInputread in class MarshallerObjectInputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in interface java.io.ObjectInputread in interface ByteInputread in class MarshallerObjectInputStreamjava.io.IOExceptionpublic boolean readBoolean()
throws java.io.IOException
readBoolean in interface java.io.DataInputreadBoolean in class MarshallerObjectInputStreamjava.io.IOExceptionpublic byte readByte()
throws java.io.IOException
readByte in interface java.io.DataInputreadByte in class MarshallerObjectInputStreamjava.io.IOExceptionpublic int readUnsignedByte()
throws java.io.IOException
readUnsignedByte in interface java.io.DataInputreadUnsignedByte in class MarshallerObjectInputStreamjava.io.IOExceptionpublic char readChar()
throws java.io.IOException
readChar in interface java.io.DataInputreadChar in class MarshallerObjectInputStreamjava.io.IOExceptionpublic short readShort()
throws java.io.IOException
readShort in interface java.io.DataInputreadShort in class MarshallerObjectInputStreamjava.io.IOExceptionpublic int readUnsignedShort()
throws java.io.IOException
readUnsignedShort in interface java.io.DataInputreadUnsignedShort in class MarshallerObjectInputStreamjava.io.IOExceptionpublic int readInt()
throws java.io.IOException
readInt in interface java.io.DataInputreadInt in class MarshallerObjectInputStreamjava.io.IOExceptionpublic long readLong()
throws java.io.IOException
readLong in interface java.io.DataInputreadLong in class MarshallerObjectInputStreamjava.io.IOExceptionpublic float readFloat()
throws java.io.IOException
readFloat in interface java.io.DataInputreadFloat in class MarshallerObjectInputStreamjava.io.IOExceptionpublic double readDouble()
throws java.io.IOException
readDouble in interface java.io.DataInputreadDouble in class MarshallerObjectInputStreamjava.io.IOExceptionpublic void readFully(byte[] buf)
throws java.io.IOException
readFully in interface java.io.DataInputreadFully in class MarshallerObjectInputStreamjava.io.IOExceptionpublic void readFully(byte[] buf,
int off,
int len)
throws java.io.IOException
readFully in interface java.io.DataInputreadFully in class MarshallerObjectInputStreamjava.io.IOExceptionpublic int skipBytes(int len)
throws java.io.IOException
skipBytes in interface java.io.DataInputskipBytes in class MarshallerObjectInputStreamjava.io.IOException@Deprecated
public java.lang.String readLine()
throws java.io.IOException
readLine in interface java.io.DataInputreadLine in class MarshallerObjectInputStreamjava.io.IOExceptionpublic java.lang.String readUTF()
throws java.io.IOException
readUTF in interface java.io.DataInputreadUTF in class MarshallerObjectInputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in interface java.io.ObjectInputskip in interface ByteInputskip in class MarshallerObjectInputStreamjava.io.IOExceptionprotected void fullReset()
protected void noCustomData()
protected int getRestoreIdx()
Copyright © 2011 JBoss, a division of Red Hat, Inc.