public class CsvUtil extends Object
Provides export functionality for exporting a TabularResultSet
to CSV (Comma Separated Values).
Constructor and Description |
---|
CsvUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
resultSetAsCsv(TabularResultSet resultSet) |
static String |
resultSetAsCsvLine(TabularResultSet resultSet) |
static void |
saveResultSetToFile(String fileName,
TabularResultSet resultSet) |
public static String resultSetAsCsv(TabularResultSet resultSet)
public static String resultSetAsCsvLine(TabularResultSet resultSet)
public static void saveResultSetToFile(String fileName, TabularResultSet resultSet)
Copyright © 2021. All rights reserved.