Class CsvWriter
java.lang.Object
de.westemeyer.plugins.multiselect.parser.CsvWriter
- All Implemented Interfaces:
ConfigSerialization
Writer class to print tree to CSV.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(MultiselectDecisionTree decisionTree, OutputStream outputStream) Serialize a variable content tree as CSV text.
-
Constructor Details
-
CsvWriter
public CsvWriter()
-
-
Method Details
-
serialize
public void serialize(MultiselectDecisionTree decisionTree, OutputStream outputStream) throws Exception Serialize a variable content tree as CSV text.- Specified by:
serializein 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
-