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:
parent
7982e227ae
commit
2b5f84ede1
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue