DataOutput
, ObjectOutput
, ObjectStreamConstants
public class ObjectOutputStream extends OutputStream implements ObjectOutput, ObjectStreamConstants
Modifier and Type | Class | 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 | Description |
---|---|---|
protected |
ObjectOutputStream() |
|
|
ObjectOutputStream(OutputStream var0) |
Modifier and Type | Method | 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) |
write, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flush
close, flush, write, write
protected ObjectOutputStream() throws IOException
IOException
public ObjectOutputStream(OutputStream var0) throws IOException
IOException
protected void annotateClass(Class var0) throws IOException
IOException
protected void annotateProxyClass(Class var0) throws IOException
IOException
public void defaultWriteObject() throws IOException
IOException
protected void drain() throws IOException
IOException
protected boolean enableReplaceObject(boolean var0)
public ObjectOutputStream.PutField putFields() throws IOException
IOException
protected Object replaceObject(Object var0) throws IOException
IOException
public void reset() throws IOException
IOException
public void useProtocolVersion(int var0) throws IOException
IOException
public void write(int var0) throws IOException
write
in interface DataOutput
write
in class OutputStream
IOException
public void writeBoolean(boolean var0) throws IOException
writeBoolean
in interface DataOutput
IOException
public void writeByte(int var0) throws IOException
writeByte
in interface DataOutput
IOException
public void writeBytes(String var0) throws IOException
writeBytes
in interface DataOutput
IOException
public void writeChar(int var0) throws IOException
writeChar
in interface DataOutput
IOException
public void writeChars(String var0) throws IOException
writeChars
in interface DataOutput
IOException
protected void writeClassDescriptor(ObjectStreamClass var0) throws IOException
IOException
public void writeDouble(double var0) throws IOException
writeDouble
in interface DataOutput
IOException
public void writeFields() throws IOException
IOException
public void writeFloat(float var0) throws IOException
writeFloat
in interface DataOutput
IOException
public void writeInt(int var0) throws IOException
writeInt
in interface DataOutput
IOException
public void writeLong(long var0) throws IOException
writeLong
in interface DataOutput
IOException
public final void writeObject(Object var0) throws IOException
writeObject
in interface ObjectOutput
IOException
protected void writeObjectOverride(Object var0) throws IOException
IOException
public void writeShort(int var0) throws IOException
writeShort
in interface DataOutput
IOException
protected void writeStreamHeader() throws IOException
IOException
public void writeUTF(String var0) throws IOException
writeUTF
in interface DataOutput
IOException
public void writeUnshared(Object var0) throws IOException
IOException