modif DataCsv.java et repertoir test

This commit is contained in:
yann 2020-12-16 20:05:35 +01:00 committed by name
parent ad0e5f090f
commit 55fec686b0
2 changed files with 11 additions and 5 deletions

View file

@ -18,9 +18,9 @@ public class DataCsv {
/**
* La methode de recuperation dun fichier csv
*/
public void getCsv() throws IOException{
String fileZip = "src/main/java/resources/loto_201911.zip";
File desDir = new File("src/main/java/resources/");
public void getCsv(String fileZip) throws IOException{
File desDir = new File("src/main/resources/");
byte[] buffer = new byte[1024];
ZipInputStream zis = new ZipInputStream(new FileInputStream(fileZip));
ZipEntry zipEntry = zis.getNextEntry();