com.onewebsql.util.jdbc
Class TimeRowHandler

java.lang.Object
  extended by com.onewebsql.util.jdbc.TimeRowHandler
All Implemented Interfaces:
RowHandler<Time>

public class TimeRowHandler
extends Object
implements RowHandler<Time>

Converts the first column of a ResultSet into Time object.


Constructor Summary
TimeRowHandler()
          Creates a new TimeRowHandler object.
 
Method Summary
 Time getObject(ResultSet rs)
          Converts the first column of a ResultSet into Time object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeRowHandler

public TimeRowHandler()
Creates a new TimeRowHandler object.

Method Detail

getObject

public Time getObject(ResultSet rs)
               throws SQLException
Converts the first column of a ResultSet into Time object.

Specified by:
getObject in interface RowHandler<Time>
Parameters:
resultSet - SQL query result
Returns:
an object created from the firs column of the current row in the specified ResultSet
Throws:
SQLException - if an exception is thrown when the object is created


Copyright © 2011-2013 e-point SA. All Rights Reserved.