java.lang.Object
jku.se.export.CsvExporter
Utility class for exporting tabular data to CSV format.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor using semicolon as delimiter (common in AT/DE Excel).CsvExporter
(String delimiter) Constructor allowing custom delimiter. -
Method Summary
-
Constructor Details
-
CsvExporter
public CsvExporter()Default constructor using semicolon as delimiter (common in AT/DE Excel). -
CsvExporter
Constructor allowing custom delimiter.- Parameters:
delimiter
- Delimiter character used to separate values.
-
-
Method Details
-
export
Exports the provided data rows to a CSV file.- Parameters:
rows
- List of rows, where each row is a map of column name to value.baseFileName
- The base name for the output file (without extension).- Throws:
IOException
- If an I/O error occurs.
-