fw.write(buffer, 0, length);
}
fw.close();
buf.close();
logger.info("Created : " + fileName + " by worksheet Id : " + this.worksheetId) ;
Import impCSV = new CSVFileImport(1, 2, ',', ' ', "UTF-8", -1, new File(fileName), workspace, null);
Worksheet wsht = impCSV.generateWorksheet();
uc = new UpdateContainer();
uc.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(wsht.getId(), SuperSelectionManager.DEFAULT_SELECTION));
new File(fileName).delete();
} catch (Exception e1) {