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 |
close() |
void |
defaultWriteObject() |
protected void |
drain() |
protected boolean |
enableReplaceObject(boolean var0) |
void |
flush() |
ObjectOutputStream.PutField |
putFields() |
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 |
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 |
writeUTF(String var0) |
protected ObjectOutputStream() throws IOException, SecurityException
IOException
SecurityException
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 close() throws IOException
close
in interface ObjectOutput
close
in class OutputStream
IOException
public void defaultWriteObject() throws IOException
IOException
protected void drain() throws IOException
IOException
protected boolean enableReplaceObject(boolean var0) throws SecurityException
SecurityException
public void flush() throws IOException
flush
in interface ObjectOutput
flush
in class OutputStream
IOException
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(byte[] var0) throws IOException
write
in interface DataOutput
write
in interface ObjectOutput
write
in class OutputStream
IOException
public void write(byte[] var0, int var1, int var2) throws IOException
write
in interface DataOutput
write
in interface ObjectOutput
write
in class OutputStream
IOException
public void write(int var0) throws IOException
write
in interface DataOutput
write
in interface ObjectOutput
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
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
protected void writeClassDescriptor(ObjectStreamClass var0) throws IOException
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
Copyright © 2006–2013 OSGi Alliance. All rights reserved.