modif sur les datas csv
This commit is contained in:
parent
b5cca0443b
commit
30e127bbe8
2 changed files with 6 additions and 3 deletions
|
|
@ -16,6 +16,12 @@ public class DataCsv {
|
|||
*/
|
||||
public DataCsv(){
|
||||
this.destination = "src/test/resources/CsvFile";
|
||||
ImportData imp = new ImportData("https://www.fdj.fr/jeux-de-tirage/loto/statistiques");
|
||||
}
|
||||
|
||||
public DataCsv(String s){
|
||||
this.destination = s;
|
||||
ImportData imp = new ImportData("https://www.fdj.fr/jeux-de-tirage/loto/statistiques");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -50,9 +50,6 @@ public class ImportData {
|
|||
|
||||
/**
|
||||
* Méthode permettant de télécharger un fichier à partir d'un URL
|
||||
* Séquence du code :
|
||||
* - récupération du lien du fichier à télécharger à partir du code source de la page
|
||||
* - enregistrement du fichier télécharger dans le répertoire définit dans le constructeur
|
||||
*/
|
||||
public void DownloadCsvZip() {
|
||||
if (UrlExist()) {
|
||||
|
|
|
|||
Reference in a new issue