The following list contains the csv aspects the WAKE CSV parser supports:
+The following list contains the csv aspects the Commons CSV parser supports:
Example usage:
-String[] parsedLine = CSVParser.parseLine("a,b,c"); -for (int i = 0; i < parsedLine.length; ++i) { - System.out.println("value " + i + "=" + parsedLine[i]); +Reader in = new StringReader("a,b,c"); +for (String[] line : CSVFormat.DEFAULT.parse(in)) { + for (int i = 0; i < line.length; i++) { + System.out.println("value " + i + "=" + line[i]); + } }