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 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 voidannotateClass(Class var0) protected voidannotateProxyClass(Class var0) voidclose()voidprotected voiddrain()protected booleanenableReplaceObject(boolean var0) voidflush()protected ObjectreplaceObject(Object var0) voidreset()voiduseProtocolVersion(int var0) voidwrite(byte[] var0) voidwrite(byte[] var0, int var1, int var2) voidwrite(int var0) voidwriteBoolean(boolean var0) voidwriteByte(int var0) voidwriteBytes(String var0) voidwriteChar(int var0) voidwriteChars(String var0) protected voidvoidwriteDouble(double var0) voidvoidwriteFloat(float var0) voidwriteInt(int var0) voidwriteLong(long var0) final voidwriteObject(Object var0) protected voidwriteObjectOverride(Object var0) voidwriteShort(int var0) protected voidvoid
-
Constructor Details
-
ObjectOutputStream
- Throws:
IOExceptionSecurityException
-
ObjectOutputStream
- Throws:
IOException
-
-
Method Details
-
annotateClass
- Throws:
IOException
-
annotateProxyClass
- Throws:
IOException
-
close
- Specified by:
closein interfaceObjectOutput- Overrides:
closein classOutputStream- Throws:
IOException
-
defaultWriteObject
- Throws:
IOException
-
drain
- Throws:
IOException
-
enableReplaceObject
- Throws:
SecurityException
-
flush
- Specified by:
flushin interfaceObjectOutput- Overrides:
flushin classOutputStream- Throws:
IOException
-
putFields
- Throws:
IOException
-
replaceObject
- Throws:
IOException
-
reset
- Throws:
IOException
-
useProtocolVersion
- Throws:
IOException
-
write
- Specified by:
writein interfaceDataOutput- Specified by:
writein interfaceObjectOutput- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein interfaceDataOutput- Specified by:
writein interfaceObjectOutput- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein interfaceDataOutput- Specified by:
writein interfaceObjectOutput- Specified by:
writein classOutputStream- Throws:
IOException
-
writeBoolean
- Specified by:
writeBooleanin interfaceDataOutput- Throws:
IOException
-
writeByte
- Specified by:
writeBytein interfaceDataOutput- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin interfaceDataOutput- Throws:
IOException
-
writeChar
- Specified by:
writeCharin interfaceDataOutput- Throws:
IOException
-
writeChars
- Specified by:
writeCharsin interfaceDataOutput- Throws:
IOException
-
writeDouble
- Specified by:
writeDoublein interfaceDataOutput- Throws:
IOException
-
writeFields
- Throws:
IOException
-
writeFloat
- Specified by:
writeFloatin interfaceDataOutput- Throws:
IOException
-
writeInt
- Specified by:
writeIntin interfaceDataOutput- Throws:
IOException
-
writeLong
- Specified by:
writeLongin interfaceDataOutput- Throws:
IOException
-
writeClassDescriptor
- Throws:
IOException
-
writeObject
- Specified by:
writeObjectin interfaceObjectOutput- Throws:
IOException
-
writeObjectOverride
- Throws:
IOException
-
writeShort
- Specified by:
writeShortin interfaceDataOutput- Throws:
IOException
-
writeStreamHeader
- Throws:
IOException
-
writeUTF
- Specified by:
writeUTFin interfaceDataOutput- Throws:
IOException
-