public interface ObjectDataOutput extends DataOutput
| Modifier and Type | Method and Description |
|---|---|
void |
write(boolean nulls,
boolean polymorphic,
Object object)
Writes the argument object.
|
void |
write(boolean nulls,
Object object)
Calls
write(boolean, boolean, Object) with polymorphic == false |
void |
write(Object object)
Calls
write(boolean, Object) with nulls == false |
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFvoid write(Object object) throws IOException
write(boolean, Object) with nulls == falseobject - IOExceptionvoid write(boolean nulls,
Object object)
throws IOException
write(boolean, boolean, Object) with polymorphic == falsenulls - object - IOExceptionvoid write(boolean nulls,
boolean polymorphic,
Object object)
throws IOException
nulls == true then the object can be null.
If polymorphic == true then the class of the object is written before writing
the object content.nulls - polymorphic - object - IOExceptionCopyright © 2014. All rights reserved.