org.xerial.db.sql
Class BeanResultHandler<T>
java.lang.Object
org.xerial.db.sql.BeanResultHandler<T>
public abstract class BeanResultHandler<T>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanResultHandler
protected BeanResultHandler(Class<T> beanClass)
init
public void init()
handle
public abstract void handle(T bean)
throws SQLException
- Throws:
SQLException
toBean
public T toBean(ResultSet resultSet)
throws SQLException
- Throws:
SQLException
getClassType
public Class<T> getClassType()
finish
public void finish()

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.