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