Class TabularExporter

java.lang.Object
pl.poznan.put.utility.TabularExporter

public final class TabularExporter extends Object
A collections of methods for easy export of tabular data to CSV files.
  • Method Details

    • export

      public static void export(TableModel tableModel, OutputStream stream) throws IOException
      Exports the tabular data in CSV format and pushed it to an output stream.
      Parameters:
      tableModel - The data to export.
      stream - The stream that will receive CSV data.
      Throws:
      IOException - When writing to the stream fails.