public interface OutputWriterStrategy
Activity
to a provided
output-stream. Implementations of this interface represent the transformation to apply to the passed activties
before they are written out.Modifier and Type | Method and Description |
---|---|
void |
closeWriter()
Closes the writer but does not release or close the underlying output stream.
|
void |
writeActivity(Activity activity)
Write an
Activity to the provided output-stream
using the implementation-specific transformation of the content. |
void writeActivity(Activity activity)
Activity
to the provided output-stream
using the implementation-specific transformation of the content.activity
- the activity that will be transformed according to the strategy in use and written to the
provided output-streamvoid closeWriter() throws IOException
IOException
Copyright © 2013–2015 Institute of networks and security. All rights reserved.