//get an item
IResultSetItem resultItem = (IResultSetItem)resultSetList.get(i);
//Set the name of the element you want to retrieve.
String dispName = resultItem.getResultSetName( );
iDataExtract.selectResultSet( dispName );
iDataExtract.extract(extractionOptions);
logger.debug("Extraction successfull "+dispName);
// Add ZIP entry to ZIP output stream
outZip.putNextEntry(new ZipEntry("reportcsv"+i+".csv"));