net.sf.basedb.core.migrate
Class IntegerWriter
java.lang.Object
net.sf.basedb.core.migrate.AbstractResultWriter
net.sf.basedb.core.migrate.IntegerWriter
- All Implemented Interfaces:
- ResultWriter
public class IntegerWriter
- extends AbstractResultWriter
Database-independent writer implementation that writes integer
values from a result set. This writer use
ResultSet.getInt(int)
to read data from the result set
and Integer.toString(int)
to format the value.
- Since:
- 3.1
- Author:
- Nicklas
- Last modified
- $Date$
Method Summary |
void |
write()
Write the current data. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerWriter
public IntegerWriter(ResultSet rs,
int index,
Writer writer,
char[] nullEscape)
write
public void write()
throws SQLException,
IOException
- Description copied from interface:
ResultWriter
- Write the current data.
- Throws:
SQLException
IOException