commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1460381 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
Date Sun, 24 Mar 2013 14:13:48 GMT
Author: ggregory
Date: Sun Mar 24 14:13:48 2013
New Revision: 1460381

URL: http://svn.apache.org/r1460381
Log:
Javadoc toBuilder().

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java?rev=1460381&r1=1460380&r2=1460381&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/CSVFormat.java Sun Mar 24
14:13:48 2013
@@ -33,9 +33,14 @@ import java.util.Arrays;
 
 /**
  * The format specification of a CSV file.
- *
+ * <p>
  * This class is immutable.
- *
+ * </p>
+ * <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(&quot;Col1&quot;, &quot;Col2&quot;,
&quot;Col3&quot;).build();</pre>
+ * 
  * @version $Id$
  */
 public class CSVFormat implements Serializable {



Mime
View raw message