public class IIOPOutputStream extends OutputStreamHook
OutputStreamHook.DefaultState, OutputStreamHook.InWriteObjectState, OutputStreamHook.WriteObjectState, OutputStreamHook.WroteCustomDataState, OutputStreamHook.WroteDefaultDataStateObjectOutputStream.PutFieldIN_WRITE_OBJECT, NOT_IN_WRITE_OBJECT, streamFormatVersion, writeObjectState, WROTE_CUSTOM_DATA, WROTE_DEFAULT_DATAbaseWireHandle, 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| Constructor and Description |
|---|
IIOPOutputStream() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
annotateClass(Class<?> cl) |
protected void |
beginOptionalCustomData() |
void |
close() |
void |
defaultWriteObjectDelegate()
Override the actions of the final method "defaultWriteObject()"
in ObjectOutputStream.
|
protected void |
drain() |
boolean |
enableReplaceObjectDelegate(boolean enable)
Override the actions of the final method "enableReplaceObject()"
in ObjectOutputStream.
|
void |
flush() |
protected void |
internalWriteUTF(OutputStream stream,
String data)
Helper method for correcting the Kestrel bug 4367783 (dealing
with larger than 8-bit chars).
|
protected Object |
replaceObject(Object obj) |
void |
reset()
Reset will disregard the state of any objects already written
to the stream.
|
void |
simpleWriteObject(Object obj,
byte formatVersion)
Override the actions of the final method "writeObject()"
in ObjectOutputStream.
|
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int data) |
void |
writeBoolean(boolean data) |
void |
writeByte(int data) |
void |
writeBytes(String data) |
void |
writeChar(int data) |
void |
writeChars(String data) |
void |
writeDouble(double data) |
void |
writeFloat(float data) |
void |
writeInt(int data) |
void |
writeLong(long data) |
void |
writeObjectOverride(Object obj)
Override the actions of the final method "writeObject()"
in ObjectOutputStream.
|
void |
writeShort(int data) |
protected void |
writeStreamHeader() |
void |
writeUTF(String data) |
defaultWriteObject, getStreamFormatVersion, putFields, setState, writeFieldsannotateProxyClass, enableReplaceObject, useProtocolVersion, writeClassDescriptor, writeObject, writeUnsharedpublic IIOPOutputStream()
throws IOException
IOExceptionprotected void beginOptionalCustomData()
beginOptionalCustomData in class OutputStreamHookpublic final void writeObjectOverride(Object obj) throws IOException
writeObjectOverride in class ObjectOutputStreamIOExceptionpublic final void simpleWriteObject(Object obj, byte formatVersion)
public final void defaultWriteObjectDelegate()
defaultWriteObjectDelegate in class OutputStreamHookpublic final boolean enableReplaceObjectDelegate(boolean enable)
protected final void annotateClass(Class<?> cl) throws IOException
annotateClass in class ObjectOutputStreamIOExceptionpublic final void close()
throws IOException
close in interface Closeableclose in interface ObjectOutputclose in interface AutoCloseableclose in class ObjectOutputStreamIOExceptionprotected final void drain()
throws IOException
drain in class ObjectOutputStreamIOExceptionpublic final void flush()
throws IOException
flush in interface Flushableflush in interface ObjectOutputflush in class ObjectOutputStreamIOExceptionprotected final Object replaceObject(Object obj) throws IOException
replaceObject in class ObjectOutputStreamIOExceptionpublic final void reset()
throws IOException
reset in class ObjectOutputStreamIOExceptionpublic final void write(byte[] b)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in class ObjectOutputStreamIOExceptionpublic final void write(byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in class ObjectOutputStreamIOExceptionpublic final void write(int data)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in class ObjectOutputStreamIOExceptionpublic final void writeBoolean(boolean data)
throws IOException
writeBoolean in interface DataOutputwriteBoolean in class ObjectOutputStreamIOExceptionpublic final void writeByte(int data)
throws IOException
writeByte in interface DataOutputwriteByte in class ObjectOutputStreamIOExceptionpublic final void writeBytes(String data) throws IOException
writeBytes in interface DataOutputwriteBytes in class ObjectOutputStreamIOExceptionpublic final void writeChar(int data)
throws IOException
writeChar in interface DataOutputwriteChar in class ObjectOutputStreamIOExceptionpublic final void writeChars(String data) throws IOException
writeChars in interface DataOutputwriteChars in class ObjectOutputStreamIOExceptionpublic final void writeDouble(double data)
throws IOException
writeDouble in interface DataOutputwriteDouble in class ObjectOutputStreamIOExceptionpublic final void writeFloat(float data)
throws IOException
writeFloat in interface DataOutputwriteFloat in class ObjectOutputStreamIOExceptionpublic final void writeInt(int data)
throws IOException
writeInt in interface DataOutputwriteInt in class ObjectOutputStreamIOExceptionpublic final void writeLong(long data)
throws IOException
writeLong in interface DataOutputwriteLong in class ObjectOutputStreamIOExceptionpublic final void writeShort(int data)
throws IOException
writeShort in interface DataOutputwriteShort in class ObjectOutputStreamIOExceptionprotected final void writeStreamHeader()
throws IOException
writeStreamHeader in class ObjectOutputStreamIOExceptionprotected void internalWriteUTF(OutputStream stream, String data)
public final void writeUTF(String data) throws IOException
writeUTF in interface DataOutputwriteUTF in class ObjectOutputStreamIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.