
public abstract class AbstractObjectOutput extends SimpleDataOutput implements java.io.ObjectOutput
buffer, bufferSizebyteOutput| Modifier | Constructor and Description |
|---|---|
protected |
AbstractObjectOutput(int bufferSize)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doWriteObject(java.lang.Object obj,
boolean unshared)
Implementation of the actual object-writing method.
|
void |
writeObject(java.lang.Object obj) |
void |
writeObjectUnshared(java.lang.Object obj) |
close, finish, flush, shallowFlush, start, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFprotected AbstractObjectOutput(int bufferSize)
bufferSize - the buffer sizeprotected abstract void doWriteObject(java.lang.Object obj,
boolean unshared)
throws java.io.IOException
obj - the object to writeunshared - true if the instance is unshared, false if it is sharedjava.io.IOException - if an I/O error occurspublic void writeObjectUnshared(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionpublic void writeObject(java.lang.Object obj)
throws java.io.IOException
writeObject in interface java.io.ObjectOutputjava.io.IOExceptionCopyright © 2011 JBoss, a division of Red Hat, Inc.