@NotStorableClass public class ObjectIOOutputStream extends ObjectOutputStream
ObjectOutputStream.PutField
baseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, 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_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING
Constructor and Description |
---|
ObjectIOOutputStream(IObjectIOManagerForObjectIO objectIOManager,
ClassInfoFactory classInfoFactory,
IProxyManagerForObjectIO proxyManager2,
HelperBinaryConversion helperBinaryConversion) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
defaultWriteObject() |
void |
flush() |
ObjectClassInfoAndDeclared[] |
getWroteObject() |
void |
initialize(ObjectAndPersistInfo objectAndItsClassInfo) |
ObjectOutputStream.PutField |
putFields() |
void |
reset() |
void |
setObjectIOGeneric(AbstractObjectOutputGenericNotStatic objectIOGeneric) |
byte[] |
toByteArray() |
void |
useProtocolVersion(int version) |
void |
write(byte[] buf) |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int val) |
void |
writeBoolean(boolean val) |
void |
writeByte(int val) |
void |
writeBytes(String str) |
void |
writeChar(int val) |
void |
writeChars(String str) |
void |
writeDouble(double val) |
void |
writeFields() |
void |
writeFloat(float val) |
void |
writeInt(int val) |
void |
writeLong(long val) |
protected void |
writeObjectOverride(Object object) |
void |
writeShort(int val) |
void |
writeUnshared(Object obj) |
void |
writeUTF(String str) |
annotateClass, annotateProxyClass, drain, enableReplaceObject, replaceObject, writeClassDescriptor, writeObject, writeStreamHeader
public ObjectIOOutputStream(IObjectIOManagerForObjectIO objectIOManager, ClassInfoFactory classInfoFactory, IProxyManagerForObjectIO proxyManager2, HelperBinaryConversion helperBinaryConversion) throws IOException, SecurityException
IOException
SecurityException
public void setObjectIOGeneric(AbstractObjectOutputGenericNotStatic objectIOGeneric)
public void initialize(ObjectAndPersistInfo objectAndItsClassInfo)
public byte[] toByteArray()
public void clear()
public ObjectClassInfoAndDeclared[] getWroteObject()
public void close() throws IOException
close
in interface Closeable
close
in interface ObjectOutput
close
in interface AutoCloseable
close
in class ObjectOutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in interface ObjectOutput
flush
in class ObjectOutputStream
IOException
public void reset() throws IOException
reset
in class ObjectOutputStream
IOException
public void useProtocolVersion(int version) throws IOException
useProtocolVersion
in class ObjectOutputStream
IOException
public ObjectOutputStream.PutField putFields() throws IOException
putFields
in class ObjectOutputStream
IOException
public void writeFields() throws IOException
writeFields
in class ObjectOutputStream
IOException
public void defaultWriteObject() throws IOException
defaultWriteObject
in class ObjectOutputStream
IOException
protected void writeObjectOverride(Object object) throws IOException
writeObjectOverride
in class ObjectOutputStream
IOException
public void writeUnshared(Object obj) throws IOException
writeUnshared
in class ObjectOutputStream
IOException
public void write(byte[] buf, int off, int len) throws IOException
write
in interface DataOutput
write
in interface ObjectOutput
write
in class ObjectOutputStream
IOException
public void write(byte[] buf) throws IOException
write
in interface DataOutput
write
in interface ObjectOutput
write
in class ObjectOutputStream
IOException
public void write(int val) throws IOException
write
in interface DataOutput
write
in interface ObjectOutput
write
in class ObjectOutputStream
IOException
public void writeByte(int val) throws IOException
writeByte
in interface DataOutput
writeByte
in class ObjectOutputStream
IOException
public void writeBoolean(boolean val) throws IOException
writeBoolean
in interface DataOutput
writeBoolean
in class ObjectOutputStream
IOException
public void writeBytes(String str) throws IOException
writeBytes
in interface DataOutput
writeBytes
in class ObjectOutputStream
IOException
public void writeChar(int val) throws IOException
writeChar
in interface DataOutput
writeChar
in class ObjectOutputStream
IOException
public void writeChars(String str) throws IOException
writeChars
in interface DataOutput
writeChars
in class ObjectOutputStream
IOException
public void writeDouble(double val) throws IOException
writeDouble
in interface DataOutput
writeDouble
in class ObjectOutputStream
IOException
public void writeFloat(float val) throws IOException
writeFloat
in interface DataOutput
writeFloat
in class ObjectOutputStream
IOException
public void writeInt(int val) throws IOException
writeInt
in interface DataOutput
writeInt
in class ObjectOutputStream
IOException
public void writeLong(long val) throws IOException
writeLong
in interface DataOutput
writeLong
in class ObjectOutputStream
IOException
public void writeShort(int val) throws IOException
writeShort
in interface DataOutput
writeShort
in class ObjectOutputStream
IOException
public void writeUTF(String str) throws IOException
writeUTF
in interface DataOutput
writeUTF
in class ObjectOutputStream
IOException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.