public class OutputStrategyFactory extends Object
OutputWriterStrategy
objects
for a known RubanetraSystemConfiguration.OutputFormat
Constructor and Description |
---|
OutputStrategyFactory() |
Modifier and Type | Method and Description |
---|---|
static OutputWriterStrategy |
createOutputWriterStrategy(RubanetraSystemConfiguration.OutputFormat outputFormat,
OutputStream out)
Returns an object capable of transforming data into the provided
RubanetraSystemConfiguration.OutputFormat |
public static OutputWriterStrategy createOutputWriterStrategy(RubanetraSystemConfiguration.OutputFormat outputFormat, OutputStream out)
RubanetraSystemConfiguration.OutputFormat
outputFormat
- the format to use for transforming data before writing to outout
- the output stream to write toNopOutputWriterStrategy
,
or a capable strategy object if an appropriate class is knownCopyright © 2013–2015 Institute of networks and security. All rights reserved.