Writing per line new CSV File (JAVA)
问题 I have the following code: public static void main(String[] args) throws IOException { //File being read: String fileName = "src/data/Belgium.csv"; String[] nextLine; try (CSVReader reader = new CSVReader(new FileReader(fileName), ',', '"', 1)) { while ((nextLine = reader.readNext()) != null) { for (String line : nextLine) { //NewFile //When 2nd parameter - ture, it gets so big, that excel can't handle it anymore... FileWriter writer = new FileWriter("src/dataNew/BelgiumNew1.csv", true); line