public class NopOutputWriterStrategy extends Object implements OutputWriterStrategy
OutputWriterStrategy does nothing.
May be useful for debugging purposes without wasting I/O resources.| Constructor and Description |
|---|
NopOutputWriterStrategy() |
| 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 void writeActivity(Activity activity)
OutputWriterStrategyActivity 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
OutputWriterStrategycloseWriter in interface OutputWriterStrategyIOExceptionCopyright © 2013–2015 Institute of networks and security. All rights reserved.