import java.io.*; import java.util.*; public class Repertoires{ public Repertoires(String s){ File f = new File(s); ArrayDeque a = new ArrayDeque(); a.add(f); Noeud n=this.tree(a); this.afficher(n,0); } public Noeud tree(ArrayDeque a){ File f = a.remove(); if(f.isFile()){ Noeud n = new Noeud(f); return n; } if(f.isDirectory()){ Noeud n = new Noeud(f); File[] liste = f.listFiles(); for(int i=0;i