Class CsvWriter
- java.lang.Object
-
- de.westemeyer.plugins.multiselect.parser.CsvWriter
-
- All Implemented Interfaces:
ConfigSerialization
public class CsvWriter extends Object implements ConfigSerialization
Writer class to print tree to CSV.
-
-
Constructor Summary
Constructors Constructor Description CsvWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(MultiselectDecisionTree decisionTree, OutputStream outputStream)
Serialize a variable content tree as CSV text.
-
-
-
Method Detail
-
serialize
public void serialize(MultiselectDecisionTree decisionTree, OutputStream outputStream) throws Exception
Serialize a variable content tree as CSV text.- Specified by:
serialize
in interfaceConfigSerialization
- Parameters:
decisionTree
- the content tree to write as CSVoutputStream
- the output stream to write to- Throws:
Exception
- in case writing to the output stream fails
-
-