How can I go to new line in created .csv file. I can only go to next cell using ";"
File temp = new File("results11234.csv");
FileWriter writer = new FileWriter(temp);
for (int i = 0; i < dirs2.size(); i++) {
try {
writer.append(dirs.get(i)+ ';');
writer.append((Integer.toString(dirs2.get(i)) + ';'));
} catch (Exception e) {
e.printStackTrace();
} finally {
}
}
writer.flush();
writer.close();