public class ShortWriter extends AbstractResultWriter
ResultSet.getShort(int)
to read data from the result set
and Short.toString(short)
to format the value.index, NULL_ESCAPE, rs, writer
Constructor and Description |
---|
ShortWriter(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 ShortWriter(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