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
IOExceptionpublic void writeActivity(Activity activity)
Activity to the provided output-stream
using the implementation-specific transformation of the content.writeActivity in interface OutputWriterStrategyactivity - 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 OutputWriterStrategyIOExceptionCopyright © 2013–2015 Institute of networks and security. All rights reserved.