Package adams.data.io.output
Interface NestedFlowWriter
-
- All Superinterfaces:
Destroyable
,FileFormatHandler
,FlowWriter
,OptionHandler
- All Known Implementing Classes:
AbstractNestedFlowWriter
,DefaultFlowWriter
public interface NestedFlowWriter extends FlowWriter
Interface for flow writers that support the faster nested format.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
write(List content, File file)
Writes the given nested format to the specified file.boolean
write(List content, OutputStream stream)
Writes the nested format to the given output stream.boolean
write(List content, String filename)
Writes the nested format to the given file.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.io.FileFormatHandler
getDefaultFormatExtension, getFormatDescription, getFormatExtensions
-
Methods inherited from interface adams.data.io.output.FlowWriter
getCorrespondingReader, write, write, write, write
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
write
boolean write(List content, File file)
Writes the given nested format to the specified file.- Parameters:
content
- the content to writefile
- the file to write to- Returns:
- true if successfully written
-
write
boolean write(List content, String filename)
Writes the nested format to the given file.- Parameters:
content
- the content to writefilename
- the file to write the content to- Returns:
- true if successfully written
-
write
boolean write(List content, OutputStream stream)
Writes the nested format to the given output stream. The caller must ensure that the stream gets closed.- Parameters:
content
- the content to writestream
- the output stream to write the content to- Returns:
- true if successfully written
-
-