git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1398181 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2012-10-15 03:21:54 +00:00
parent 8aa02596af
commit e4a6faf8ab
1 changed files with 3 additions and 2 deletions

View File

@ -69,9 +69,10 @@
* <blockquote><pre>
* Reader in = new StringReader("a,b,c");
* for (CSVRecord record : CSVFormat.DEFAULT.parse(in)) {
* for (int i = 0; i &lt; record.length; i++) {
* System.out.println("value " + i + "=" + record.get(i));
* for (String field : record) {
* System.out.print("\"" + field + "\", ");
* }
* System.out.println();
* }
* </pre></blockquote>
*/