001    /*
002    @license.text@
003     */
004    package biz.hammurapi.sql;
005    
006    import java.sql.ResultSet;
007    import java.sql.SQLException;
008    
009    /**
010     * Processes rows in ResultSet
011     * @author Pavel Vlasov
012     * @version $Revision: 1.1 $
013     */
014    public interface RowProcessor {
015            /**
016             * Processes one row from result set.
017             * @param resultSet
018             * @return false if subsequent rows shall not be processed
019             * @throws SQLException
020             */
021            boolean process(ResultSet rs) throws SQLException;
022    }