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
close()
void
protected void
drain()
protected boolean
enableReplaceObject
(boolean var0) void
flush()
protected Object
replaceObject
(Object var0) void
reset()
void
useProtocolVersion
(int var0) void
write
(byte[] var0) void
write
(byte[] var0, int var1, int var2) 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
-
Constructor Details
-
ObjectOutputStream
- Throws:
IOException
SecurityException
-
ObjectOutputStream
- Throws:
IOException
-
-
Method Details
-
annotateClass
- Throws:
IOException
-
annotateProxyClass
- Throws:
IOException
-
close
- Specified by:
close
in interfaceObjectOutput
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
defaultWriteObject
- Throws:
IOException
-
drain
- Throws:
IOException
-
enableReplaceObject
- Throws:
SecurityException
-
flush
- Specified by:
flush
in interfaceObjectOutput
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
putFields
- Throws:
IOException
-
replaceObject
- Throws:
IOException
-
reset
- Throws:
IOException
-
useProtocolVersion
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Specified by:
write
in interfaceObjectOutput
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Specified by:
write
in interfaceObjectOutput
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in interfaceDataOutput
- Specified by:
write
in interfaceObjectOutput
- 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
-
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
-
writeClassDescriptor
- 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
-