mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-28 13:59:07 +00:00
[CSV-99] Revert Builder implementation in CSVFormat. Update Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1509216 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fcc0d15c7b
commit
f69ddb394a
@ -40,12 +40,12 @@ import java.util.Set;
|
||||
* </p>
|
||||
* You can extend a format through a builder. For example, to extend the Excel format with columns header, you write:
|
||||
* </p>
|
||||
* <pre>CSVFormat.EXCEL.toBuilder().withHeader("Col1", "Col2", "Col3");</pre>
|
||||
* <pre>CSVFormat.EXCEL.withHeader("Col1", "Col2", "Col3");</pre>
|
||||
* <p>
|
||||
* You can parse through a format. For example, to parse an Excel file with columns header, you write:
|
||||
* </p>
|
||||
* <pre>Reader in = ...;
|
||||
*CSVFormat.EXCEL.toBuilder().withHeader("Col1", "Col2", "Col3").parse(in);</pre>
|
||||
*CSVFormat.EXCEL.withHeader("Col1", "Col2", "Col3").parse(in);</pre>
|
||||
* <p>
|
||||
*
|
||||
* @version $Id$
|
||||
|
Loading…
x
Reference in New Issue
Block a user