Package java.io
Class ObjectOutputStream
java.lang.Object
java.io.OutputStream
java.io.ObjectOutputStream
- All Implemented Interfaces:
DataOutput
,ObjectOutput
,ObjectStreamConstants
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface java.io.ObjectStreamConstants
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
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
annotateClass
(Class var0) protected void
annotateProxyClass
(Class var0) void
protected void
drain()
protected boolean
enableReplaceObject
(boolean var0) 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
void
writeDouble
(double var0) void
void
writeFloat
(float var0) void
writeInt
(int var0) void
writeLong
(long var0) final void
writeObject
(Object var0) protected void
writeObjectOverride
(Object var0) void
writeShort
(int var0) protected void
void
writeUnshared
(Object var0) void
Methods inherited from class java.io.OutputStream
close, flush, write, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.DataOutput
write, write
Methods inherited from interface java.io.ObjectOutput
close, flush
-
Constructor Details
-
ObjectOutputStream
- Throws:
IOException
-
ObjectOutputStream
- Throws:
IOException
-
-
Method Details
-
annotateClass
- Throws:
IOException
-
annotateProxyClass
- Throws:
IOException
-
defaultWriteObject
- Throws:
IOException
-
drain
- Throws:
IOException
-
enableReplaceObject
protected boolean enableReplaceObject(boolean var0) -
putFields
- Throws:
IOException
-
replaceObject
- Throws:
IOException
-
reset
- Throws:
IOException
-
useProtocolVersion
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
writeBoolean
- Specified by:
writeBoolean
in interfaceDataOutput
- Throws:
IOException
-
writeByte
- Specified by:
writeByte
in interfaceDataOutput
- Throws:
IOException
-
writeBytes
- Specified by:
writeBytes
in interfaceDataOutput
- Throws:
IOException
-
writeChar
- Specified by:
writeChar
in interfaceDataOutput
- Throws:
IOException
-
writeChars
- Specified by:
writeChars
in interfaceDataOutput
- Throws:
IOException
-
writeClassDescriptor
- Throws:
IOException
-
writeDouble
- Specified by:
writeDouble
in interfaceDataOutput
- Throws:
IOException
-
writeFields
- Throws:
IOException
-
writeFloat
- Specified by:
writeFloat
in interfaceDataOutput
- Throws:
IOException
-
writeInt
- Specified by:
writeInt
in interfaceDataOutput
- Throws:
IOException
-
writeLong
- Specified by:
writeLong
in interfaceDataOutput
- Throws:
IOException
-
writeObject
- Specified by:
writeObject
in interfaceObjectOutput
- Throws:
IOException
-
writeObjectOverride
- Throws:
IOException
-
writeShort
- Specified by:
writeShort
in interfaceDataOutput
- Throws:
IOException
-
writeStreamHeader
- Throws:
IOException
-
writeUTF
- Specified by:
writeUTF
in interfaceDataOutput
- Throws:
IOException
-