public class Serializer
extends java.lang.Object
| Constructor and Description |
|---|
Serializer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeToStream(java.io.OutputStream stream,
java.lang.Object object)
Write the object to the stream.
|
public void writeToStream(java.io.OutputStream stream,
java.lang.Object object)
throws SerializationException
stream - the stream to write the object to.object - the object to write to the stream.SerializationException - the object could not be serialized.