
public class RiverObjectOutputStream extends MarshallerObjectOutputStream
ObjectOutputStream.PutFieldbaseWireHandle, 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 |
RiverObjectOutputStream(Marshaller delegateMarshaller,
RiverMarshaller marshaller) |
| Modifier and Type | Method and Description |
|---|---|
void |
defaultWriteObject() |
protected void |
finish(int restoreState) |
protected void |
fullReset() |
ObjectOutputStream.PutField |
putFields() |
protected int |
start() |
protected SerializableClass |
swapClass(SerializableClass newSerializableClass) |
protected Object |
swapCurrent(Object current) |
void |
write(byte[] buf) |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int val) |
void |
writeBoolean(boolean val) |
void |
writeByte(int val) |
void |
writeBytes(String str) |
void |
writeChar(int val) |
void |
writeChars(String str) |
void |
writeDouble(double val) |
void |
writeFields() |
void |
writeFloat(float val) |
void |
writeInt(int val) |
void |
writeLong(long val) |
protected void |
writeObjectOverride(Object obj) |
void |
writeShort(int val) |
void |
writeUnshared(Object obj) |
void |
writeUTF(String str) |
annotateClass, annotateProxyClass, close, drain, enableReplaceObject, flush, replaceObject, reset, useProtocolVersion, writeClassDescriptor, writeStreamHeaderwriteObjectprotected RiverObjectOutputStream(Marshaller delegateMarshaller, RiverMarshaller marshaller) throws IOException, SecurityException
IOExceptionSecurityExceptionpublic void writeFields()
throws IOException
writeFields in class MarshallerObjectOutputStreamIOExceptionpublic ObjectOutputStream.PutField putFields() throws IOException
putFields in class MarshallerObjectOutputStreamIOExceptionprotected SerializableClass swapClass(SerializableClass newSerializableClass)
public void defaultWriteObject()
throws IOException
defaultWriteObject in class MarshallerObjectOutputStreamIOExceptionprotected int start()
throws IOException
IOExceptionprotected void writeObjectOverride(Object obj) throws IOException
writeObjectOverride in class MarshallerObjectOutputStreamIOExceptionpublic void writeUnshared(Object obj) throws IOException
writeUnshared in class MarshallerObjectOutputStreamIOExceptionpublic void write(int val)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in interface ByteOutputwrite in class MarshallerObjectOutputStreamIOExceptionpublic void write(byte[] buf)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in interface ByteOutputwrite in class MarshallerObjectOutputStreamIOExceptionpublic void write(byte[] buf,
int off,
int len)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in interface ByteOutputwrite in class MarshallerObjectOutputStreamIOExceptionpublic void writeBoolean(boolean val)
throws IOException
writeBoolean in interface DataOutputwriteBoolean in class MarshallerObjectOutputStreamIOExceptionpublic void writeByte(int val)
throws IOException
writeByte in interface DataOutputwriteByte in class MarshallerObjectOutputStreamIOExceptionpublic void writeShort(int val)
throws IOException
writeShort in interface DataOutputwriteShort in class MarshallerObjectOutputStreamIOExceptionpublic void writeChar(int val)
throws IOException
writeChar in interface DataOutputwriteChar in class MarshallerObjectOutputStreamIOExceptionpublic void writeInt(int val)
throws IOException
writeInt in interface DataOutputwriteInt in class MarshallerObjectOutputStreamIOExceptionpublic void writeLong(long val)
throws IOException
writeLong in interface DataOutputwriteLong in class MarshallerObjectOutputStreamIOExceptionpublic void writeFloat(float val)
throws IOException
writeFloat in interface DataOutputwriteFloat in class MarshallerObjectOutputStreamIOExceptionpublic void writeDouble(double val)
throws IOException
writeDouble in interface DataOutputwriteDouble in class MarshallerObjectOutputStreamIOExceptionpublic void writeBytes(String str) throws IOException
writeBytes in interface DataOutputwriteBytes in class MarshallerObjectOutputStreamIOExceptionpublic void writeChars(String str) throws IOException
writeChars in interface DataOutputwriteChars in class MarshallerObjectOutputStreamIOExceptionpublic void writeUTF(String str) throws IOException
writeUTF in interface DataOutputwriteUTF in class MarshallerObjectOutputStreamIOExceptionprotected void finish(int restoreState)
throws IOException
IOExceptionprotected void fullReset()
Copyright © 2011 JBoss, a division of Red Hat, Inc.