File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 * </p>
4141 * You can extend a format through a builder. For example, to extend the Excel format with columns header, you write:
4242 * </p>
43- * <pre>CSVFormat.EXCEL.toBuilder(). withHeader("Col1", "Col2", "Col3");</pre>
43+ * <pre>CSVFormat.EXCEL.withHeader("Col1", "Col2", "Col3");</pre>
4444 * <p>
4545 * You can parse through a format. For example, to parse an Excel file with columns header, you write:
4646 * </p>
4747 * <pre>Reader in = ...;
48- *CSVFormat.EXCEL.toBuilder(). withHeader("Col1", "Col2", "Col3").parse(in);</pre>
48+ *CSVFormat.EXCEL.withHeader("Col1", "Col2", "Col3").parse(in);</pre>
4949 * <p>
5050 *
5151 * @version $Id$
You can’t perform that action at this time.
0 commit comments