| java.lang.Object org.glasser.sql.ExportManager
ExportManager | public class ExportManager (Code) | | |
Method Summary | |
public static String | buildDelimitedRecord(List rowData, Formatter[] formatters, String delimiter) | public static String | buildInsertStatement(List rowData, String tableName, String[] columnNames, Formatter[] formatters) | public static String | buildInsertStatement(List rowData, String tableName, String[] columnNames, Formatter[] formatters, boolean foldLine) | public static void | exportDelimited(PrintWriter writer, List resultSet, int[] rowsToExport, String delimiter, String[] columnHeaders, Formatter[] formatters, String lineTerminal) | public static void | exportInsertStatements(PrintWriter writer, List resultSet, int[] rowsToExport, String tableName, String[] columnNames, Formatter[] formatters, String lineTerminal) | public static void | exportInsertStatements(PrintWriter writer, List resultSet, int[] rowsToExport, String tableName, String[] columnNames, Formatter[] formatters, String lineTerminal, boolean foldLines) | public static void | exportResultSet(PrintWriter writer, ResultSet resultSet, String tableName, String lineTerminal, HashMap typeMap, HashMap dateFormatMap, HashMap columnNameMap, Character openQuoteChar, Character closeQuoteChar, boolean foldLines, int maxRows) |
exportResultSet | public static void exportResultSet(PrintWriter writer, ResultSet resultSet, String tableName, String lineTerminal, HashMap typeMap, HashMap dateFormatMap, HashMap columnNameMap, Character openQuoteChar, Character closeQuoteChar, boolean foldLines, int maxRows) throws SQLException, IOException(Code) | | |
|
|