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 @@ -141,7 +141,7 @@ public static CSVFormatBuilder newBuilder(final char delimiter) {
141141 *
142142 * @param format
143143 * The format to use values from
144- * @return a new CSVFormatBuilder
144+ * @return a new CSVFormatBuilder
145145 */
146146 public static CSVFormatBuilder newBuilder (final CSVFormat format ) {
147147 return new CSVFormatBuilder (format );
@@ -155,6 +155,9 @@ public static CSVFormatBuilder newBuilder(final CSVFormat format) {
155155 * <li>withEmptyLinesIgnored(true)</li>
156156 * <li>withLineSeparator(CRLF)</li>
157157 * </ul>
158+ *
159+ * Shortcut for {@code CSVFormat.newBuilder(CSVFormat.DEFAULT)}
160+ *
158161 * @return a standard comma separated format builder, as for {@link #RFC4180} but allowing empty lines.
159162 */
160163 public static CSVFormatBuilder newBuilder () {
@@ -333,7 +336,7 @@ String[] getHeader() {
333336 *
334337 * @param in
335338 * the input stream
336- * @throws IOException
339+ * @throws IOException
337340 */
338341 public Iterable <CSVRecord > parse (final Reader in ) throws IOException {
339342 return new CSVParser (in , this );
@@ -579,7 +582,7 @@ public static class CSVFormatBuilder {
579582
580583 /**
581584 * Builds a new CSVFormat configured with the values from this builder.
582- *
585+ *
583586 * @return a new CSVFormat
584587 */
585588 public CSVFormat build () {
You can’t perform that action at this time.
0 commit comments