1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| OutputStream ips=new FileOutputStream(out,true);
OutputStreamWriter ipsr=new OutputStreamWriter(ips);
BufferedWriter fp=new BufferedWriter(ipsr);
fp.flush();
for (int i = 0; i < liste.size(); i++) {
for (int j = 1; j < liste.get(i).mots.length; j++) {
if (j - 2 == -1) {
listnominateur.add(liste.get(i).mots[j - 1] + " " +
liste.get(i).mots[j]);
listdenominateur.add(liste.get(i).mots[0]);
} else {
listnominateur.add(liste.get(i).mots[j - 2] + " "
+ liste.get(i).mots[j - 1] + " "
+ liste.get(i).mots[j]);
listdenominateur.add(liste.get(i).mots[j - 2] + " "
+ liste.get(i).mots[j - 1]); |
Partager