public interface SerializationContext
Modifier and Type | Method and Description |
---|---|
void |
addObjectReplacer(SerializationObjectReplacer replacer)
Add an object replacer local to this context only.
|
java.io.ObjectOutputStream |
createObjectOutputStream(java.io.OutputStream output)
Create a stream for serializing objects using this context.
|
void addObjectReplacer(SerializationObjectReplacer replacer)
resolver
- the resolver to addjava.io.ObjectOutputStream createObjectOutputStream(java.io.OutputStream output) throws java.io.IOException
output
- the output stream to write serialized object datajava.io.IOException
- if the ObjectOutputStream
constructor throws
an exception