1 package net.sf.mavenhist.persistency; 2 3 import java.sql.ResultSet; 4 5 /** 6 * Processes a query result from a database. 7 */ 8 public interface IResultSetProcessor { 9 10 /** 11 * Process a result set from a database query. 12 * 13 * @param resultSet to be data read from. 14 * @return object if any, might be null. 15 * @throws Exception in case of error. 16 */ 17 Object processResult(ResultSet resultSet) throws Exception; 18 }