public class BooleanWriter extends AbstractResultWriter
nullEscape
value
for null values and uses ResultSet.getBoolean(int)
to
get the current result set value.Modifier and Type | Field and Description |
---|---|
private static char[] |
FALSE |
private static char[] |
TRUE |
index, NULL_ESCAPE, rs, writer
Constructor and Description |
---|
BooleanWriter(java.sql.ResultSet rs,
int index,
java.io.Writer writer,
char[] nullEscape) |
Modifier and Type | Method and Description |
---|---|
void |
write()
Write the current data.
|
public BooleanWriter(java.sql.ResultSet rs, int index, java.io.Writer writer, char[] nullEscape)
public void write() throws java.sql.SQLException, java.io.IOException
ResultWriter
java.sql.SQLException
java.io.IOException