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