/src/main/java/net/finmath/parser/CSVSwaptionParser.java
final SwaptionDataLattice data = parseStreams( atmStream, otmStream, referenceDate, swaptionCode, index, discountCurveName) ;
final SwaptionDataLattice data = parseStreams ( atmStream, otmStream, referenceDate, currency, index, discountCurveName ) ;
this.fileQuotingUnit = fileQuotingUnit; this.fileQuotingUnitForDisplacement = fileQuotingUnitForDisplacement; } public SwaptionDataLattice parseCSV(final File atmFile, final File otmFile, final LocalDate referenceDate, final String currency, final String index, final String discountCurveName) throws IOException { final InputStream atmStream = new FileInputStream(atmFile); final InputStream otmStream = new FileInputStream(otmFile); <extra_id_0> atmStream.close(); otmStream.close(); return data; } public SwaptionDataLattice[] parseZIP(final File atmFile, final File otmFile, final String currency, final String index, final String discountCurveName) throws IOException { final ZipFile atmZip = new ZipFile(atmFile);