public class ObjectOutputStream extends OutputStream implements ObjectOutput, ObjectStreamConstants
| Modifier and Type | Class and Description |
|---|---|
static class |
ObjectOutputStream.PutField |
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, 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_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING| Modifier | Constructor and Description |
|---|---|
protected |
ObjectOutputStream() |
|
ObjectOutputStream(OutputStream var0) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
annotateClass(Class var0) |
protected void |
annotateProxyClass(Class var0) |
void |
defaultWriteObject() |
protected void |
drain() |
protected boolean |
enableReplaceObject(boolean var0) |
ObjectOutputStream.PutField |
putFields() |
protected Object |
replaceObject(Object var0) |
void |
reset() |
void |
useProtocolVersion(int var0) |
void |
write(int var0) |
void |
writeBoolean(boolean var0) |
void |
writeByte(int var0) |
void |
writeBytes(String var0) |
void |
writeChar(int var0) |
void |
writeChars(String var0) |
protected void |
writeClassDescriptor(ObjectStreamClass var0) |
void |
writeDouble(double var0) |
void |
writeFields() |
void |
writeFloat(float var0) |
void |
writeInt(int var0) |
void |
writeLong(long var0) |
void |
writeObject(Object var0) |
protected void |
writeObjectOverride(Object var0) |
void |
writeShort(int var0) |
protected void |
writeStreamHeader() |
void |
writeUnshared(Object var0) |
void |
writeUTF(String var0) |
close, flush, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, flushwrite, writeprotected ObjectOutputStream()
throws IOException
IOExceptionpublic ObjectOutputStream(OutputStream var0) throws IOException
IOExceptionprotected void annotateClass(Class var0) throws IOException
IOExceptionprotected void annotateProxyClass(Class var0) throws IOException
IOExceptionpublic void defaultWriteObject()
throws IOException
IOExceptionprotected void drain()
throws IOException
IOExceptionprotected boolean enableReplaceObject(boolean var0)
public ObjectOutputStream.PutField putFields() throws IOException
IOExceptionprotected Object replaceObject(Object var0) throws IOException
IOExceptionpublic void reset()
throws IOException
IOExceptionpublic void useProtocolVersion(int var0)
throws IOException
IOExceptionpublic void write(int var0)
throws IOException
write in interface DataOutputwrite in class OutputStreamIOExceptionpublic void writeBoolean(boolean var0)
throws IOException
writeBoolean in interface DataOutputIOExceptionpublic void writeByte(int var0)
throws IOException
writeByte in interface DataOutputIOExceptionpublic void writeBytes(String var0) throws IOException
writeBytes in interface DataOutputIOExceptionpublic void writeChar(int var0)
throws IOException
writeChar in interface DataOutputIOExceptionpublic void writeChars(String var0) throws IOException
writeChars in interface DataOutputIOExceptionprotected void writeClassDescriptor(ObjectStreamClass var0) throws IOException
IOExceptionpublic void writeDouble(double var0)
throws IOException
writeDouble in interface DataOutputIOExceptionpublic void writeFields()
throws IOException
IOExceptionpublic void writeFloat(float var0)
throws IOException
writeFloat in interface DataOutputIOExceptionpublic void writeInt(int var0)
throws IOException
writeInt in interface DataOutputIOExceptionpublic void writeLong(long var0)
throws IOException
writeLong in interface DataOutputIOExceptionpublic final void writeObject(Object var0) throws IOException
writeObject in interface ObjectOutputIOExceptionprotected void writeObjectOverride(Object var0) throws IOException
IOExceptionpublic void writeShort(int var0)
throws IOException
writeShort in interface DataOutputIOExceptionprotected void writeStreamHeader()
throws IOException
IOExceptionpublic void writeUTF(String var0) throws IOException
writeUTF in interface DataOutputIOExceptionpublic void writeUnshared(Object var0) throws IOException
IOException