Interface BinaryObjectSerializer
-
public interface BinaryObjectSerializerInterface for writing objects to a stream.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the underylying stream after first flushing it.voidflush()Flushes the underlying stream.voidwriteObject(java.lang.Object object)Writes the next object to the stream.
-
-
-
Method Detail
-
writeObject
void writeObject(java.lang.Object object)
Writes the next object to the stream.- Parameters:
object- The object to write.- See Also:
for a list of supported types.
-
flush
void flush()
Flushes the underlying stream.
-
close
void close()
Closes the underylying stream after first flushing it.
-
-