org.springframework.batch.sample.common
Class FieldSetResultSetExtractor

java.lang.Object
  extended by org.springframework.batch.sample.common.FieldSetResultSetExtractor

public final class FieldSetResultSetExtractor
extends Object

ResultSetExtractor implementation that returns list of FieldSets for given ResultSet.

Author:
peter.zozom

Method Summary
static FieldSet getFieldSet(ResultSet rs)
          Processes single row in ResultSet and returns its FieldSet representation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFieldSet

public static FieldSet getFieldSet(ResultSet rs)
                            throws SQLException
Processes single row in ResultSet and returns its FieldSet representation.

Parameters:
rs - ResultSet ResultSet to extract data from.
Returns:
FieldSet representation of current row in ResultSet
Throws:
SQLException - thrown during processing


Copyright © 2009 SpringSource. All Rights Reserved.