public static interface MultiOutputSerializationStage.Destination extends Closeable
MultiOutputSerializationStage.OutputStrategy.
The MultiOutputSerializationStage.Destination must be closed after the associated OutputStream. This
extra level of processing allows the MultiOutputSerializationStage.Destination to perform other tasks
after the stream is closed without having to subclass or proxy the stream
class.| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Gets an
OutputStream to which an item should be serialized. |
@Nonnull OutputStream getOutputStream() throws IOException
OutputStream to which an item should be serialized.IOException - if there is an error creating the output streamCopyright © 1999–2016. All rights reserved.