Package pl.poznan.put.utility
Class TabularExporter
java.lang.Object
pl.poznan.put.utility.TabularExporter
A collections of methods for easy export of tabular data to CSV files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidexport(TableModel tableModel, OutputStream stream) Exports the tabular data in CSV format and pushed it to an output stream.
-
Method Details
-
export
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.
-