public class WrapperObjectOutputStream extends WrapperDataOutputStream implements ObjectOutput
| Constructor and Description | 
|---|
WrapperObjectOutputStream(ObjectOutput out)
Construct a WrapperObjectOutputStream that will output to the specified object implementing the ObjectOutput interface. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
long | 
getBytesWritten()
Return the total number of bytes written to the wrapped DataOutput object. 
 | 
ObjectOutput | 
getObjectOutput()
Obtain the underlying object providing the ObjectOutput interface that this object is delegating to. 
 | 
void | 
writeObject(Object o)
Writes the Object  
o so that the corresponding ObjectInput.readObject() method can reconstitute an Object from the written data. | 
close, flush, getDataOutput, incBytesWritten, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic WrapperObjectOutputStream(ObjectOutput out)
out - an object implementing ObjectOutput to write topublic ObjectOutput getObjectOutput()
public long getBytesWritten()
This method is unsupported.
getBytesWritten in class WrapperDataOutputStreamUnsupportedOperationExceptionpublic void writeObject(Object o) throws IOException
o so that the corresponding ObjectInput.readObject() method can reconstitute an Object from the written data.writeObject in interface ObjectOutputo - the Object to writeIOException - if an I/O error occurs