public class DefaultSerializer extends java.lang.Object implements Serializer<java.lang.Object>
| Constructor and Description |
|---|
DefaultSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
serialize(java.lang.Object object,
java.io.OutputStream outputStream)
Writes the source object to an output stream using Java Serialization.
|
public void serialize(java.lang.Object object,
java.io.OutputStream outputStream)
throws java.io.IOException
Serializable.serialize in interface Serializer<java.lang.Object>object - the object to serializeoutputStream - the output streamjava.io.IOException - in case of errors writing to the stream