Class TabularExporter


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

      • 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.