1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
fis1 = new FileInputStream(conn);
fis2 = new FileInputStream(reco);
ipsr1 = new InputStreamReader(fis1);
ipsr2 = new InputStreamReader(fis2);
br1 = new BufferedReader(ipsr1);
br2 = new BufferedReader(ipsr2);
ArrayList<ArrayList<String>> gal = new ArrayList<ArrayList<String>>();
ArrayList<ArrayList<String>> gal2 = new ArrayList<ArrayList<String>>();
String rl = null;
while ((rl = new String(br1.readLine()))!=null)
{
System.out.println(rl);
String[] s = rl.split(" ");
ArrayList<String> al = new ArrayList<String>();
Collections.addAll(al, s);
gal.add(al);
//rl = br1.readLine();
} |
Partager