Document how to create CSVParsers via CSVFormat

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1523213 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2013-09-14 11:13:22 +00:00
parent 7982e227ae
commit 2b5f84ede1
1 changed files with 7 additions and 0 deletions

View File

@ -54,7 +54,14 @@ import java.util.NoSuchElementException;
* </p>
* <p>
* Alternatively parsers can also be created by passing a {@link Reader} directly to the sole constructor.
*
* For those who like fluent APIs, parsers can be created using {@link CSVFormat#parse(java.io.Reader)} as a shortcut:
* </p>
* <pre>
* for(CSVRecord record : CSVFormat.EXCEL.parse(in)) {
* ...
* }
* </pre>
*
* <h4>Parsing record wise</h4>
* <p>