|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--util.sql.test.UserResultProcessor
Result processor that will form User
objects from the given result
set.
Method Summary | |
static ResultProcessor |
getInstance()
Get an instance of this result processor. |
java.lang.Object[] |
process(java.sql.ResultSet rs)
Takes a result set and munges it into whatever type of object or set of objects it should be. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static ResultProcessor getInstance()
public java.lang.Object[] process(java.sql.ResultSet rs) throws java.sql.SQLException
process
in interface ResultProcessor
rs
- The result set to traverse in forming these objectsjava.sql.SQLException
- this exception that can result from mishandling of a result set. However, the developer
shouldn't have to worry about the overhead of handling these exceptions, so let
it bubble up.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |