public class TextWriter extends AbstractResultWriter
ResultSet.getString(int)
to read
data from the result set.Modifier and Type | Field and Description |
---|---|
private char[][] |
ESCAPE |
index, NULL_ESCAPE, rs, writer
Constructor and Description |
---|
TextWriter(java.sql.ResultSet rs,
int index,
java.io.Writer writer,
char[] nullEscape,
char[][] charEscape) |
Modifier and Type | Method and Description |
---|---|
void |
write()
Write the current data.
|
public TextWriter(java.sql.ResultSet rs, int index, java.io.Writer writer, char[] nullEscape, char[][] charEscape)
public void write() throws java.sql.SQLException, java.io.IOException
ResultWriter
java.sql.SQLException
java.io.IOException