Package org.esa.snap.ui.io
Class TableModelCsvEncoder
- java.lang.Object
-
- org.esa.snap.ui.io.TableModelCsvEncoder
-
- All Implemented Interfaces:
CsvEncoder
public class TableModelCsvEncoder extends Object implements CsvEncoder
This simple TableModelCsvEncoder writes the table model content encoded as CSV to a given writer. The separator char is'\t'
.
-
-
Constructor Summary
Constructors Constructor Description TableModelCsvEncoder(TableModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encodeCsv(Writer writer)
Writes the table model content encoded as csv to the given writer.
-
-
-
Constructor Detail
-
TableModelCsvEncoder
public TableModelCsvEncoder(TableModel model)
-
-
Method Detail
-
encodeCsv
public void encodeCsv(Writer writer) throws IOException
Writes the table model content encoded as csv to the given writer. The separator char is'\t'
.- Specified by:
encodeCsv
in interfaceCsvEncoder
- Parameters:
writer
-- Throws:
IOException
-
-