public class ResultSetMonospacedWriter extends Object implements ResultSetWriter<String>
| Modifier and Type | Field and Description |
|---|---|
static String |
DELIMITER |
static String |
NEWLINE_CHARACTER |
| Constructor and Description |
|---|
ResultSetMonospacedWriter() |
| Modifier and Type | Method and Description |
|---|---|
HeaderFormatter<?> |
getHeaderFormat()
Gets the header format.
|
RowFormatter<?> |
getRowFormat()
Gets the row format.
|
boolean |
isLimited()
Checks if is limited.
|
void |
setHeaderFormat(HeaderFormatter<?> headerFormat)
Sets the header format.
|
void |
setLimited(boolean limited)
Sets the limited.
|
void |
setRowFormat(RowFormatter<?> rowFormat)
Sets the row format.
|
String |
write(ResultSet resultSet)
Write the provided ResultSet.
|
public static final String DELIMITER
public static final String NEWLINE_CHARACTER
public boolean isLimited()
public void setLimited(boolean limited)
limited - the new limitedpublic String write(ResultSet resultSet) throws SQLException
ResultSetWriterwrite in interface ResultSetWriter<String>resultSet - the rsSQLException - the SQL exceptionpublic HeaderFormatter<?> getHeaderFormat()
public void setHeaderFormat(HeaderFormatter<?> headerFormat)
headerFormat - the new header formatpublic RowFormatter<?> getRowFormat()
public void setRowFormat(RowFormatter<?> rowFormat)
rowFormat - the new row formatCopyright © 2010–2018 Eclipse Foundation. All rights reserved.