public class CsvOutputWriterStrategy extends Object implements OutputWriterStrategy
Constructor and Description |
---|
CsvOutputWriterStrategy(OutputStream outputStream) |
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. |
public CsvOutputWriterStrategy(OutputStream outputStream) throws IOException
IOException
public void writeActivity(Activity activity)
Activity
to the provided output-stream
using the implementation-specific transformation of the content.writeActivity
in interface OutputWriterStrategy
activity
- the activity that will be transformed according to the strategy in use and written to the
provided output-streampublic void closeWriter() throws IOException
closeWriter
in interface OutputWriterStrategy
IOException
Copyright © 2013–2015 Institute of networks and security. All rights reserved.