Skip to content

Commit 530d8d1

Browse files
committed
Javadoc toBuilder().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1460381 13f79535-47bb-0310-9956-ffa450edef68
1 parent f4b9d6d commit 530d8d1

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,14 @@
3333

3434
/**
3535
* The format specification of a CSV file.
36-
*
36+
* <p>
3737
* This class is immutable.
38-
*
38+
* </p>
39+
* <p>
40+
* You can extend a format through a builder. For example, to extend the Excel format with columns header, you write:
41+
* </p>
42+
* <pre>CSVFormat.EXCEL.toBuilder().withHeader(&quot;Col1&quot;, &quot;Col2&quot;, &quot;Col3&quot;).build();</pre>
43+
*
3944
* @version $Id$
4045
*/
4146
public class CSVFormat implements Serializable {

0 commit comments

Comments
 (0)