public class DateWriter extends AbstractResultWriter
ResultSet.getDate(int)
to read data from
the result set and the DateFormat.format(java.util.Date)
to format the value.Modifier and Type | Field and Description |
---|---|
private DateFormat |
dateFormat |
index, NULL_ESCAPE, rs, writer
Constructor and Description |
---|
DateWriter(ResultSet rs,
int index,
Writer writer,
char[] nullEscape,
DateFormat dateFormat) |
private final DateFormat dateFormat
public DateWriter(ResultSet rs, int index, Writer writer, char[] nullEscape, DateFormat dateFormat)
public void write() throws SQLException, IOException
ResultWriter
SQLException
IOException