Class 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 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 interface CsvEncoder
        Parameters:
        writer -
        Throws:
        IOException