public class SQLFormatter extends AbstractFormatter
conInfo, maxrowsCONSOLE_LINES, CONSOLE_WIDTH| Constructor and Description |
|---|
SQLFormatter() |
SQLFormatter(ConnectionInfo ci) |
| Modifier and Type | Method and Description |
|---|---|
int |
format(ResultSet rs,
Writer writer,
int rows,
String sql,
String table,
String[] columnns) |
String |
header(String sql,
ResultSet rs,
String[] columns) |
format, format, format, format, header, set, setConnectionInfo, setMaxRows, toStringpublic SQLFormatter(ConnectionInfo ci)
public SQLFormatter()
public int format(ResultSet rs, Writer writer, int rows, String sql, String table, String[] columnns) throws SQLException, IOException
SQLExceptionIOExceptionpublic String header(String sql, ResultSet rs, String[] columns) throws SQLException
SQLExceptionCopyright © 2015. All rights reserved.