commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject [CSV] org.apache.commons.csv.CSVFormat.DEFAULT
Date Wed, 20 Mar 2013 05:11:40 GMT
Addressing this TODO:

    /**
     * Standard comma separated format, as for {@link #RFC4180} but
allowing empty lines.
     * <ul>
     * <li>withDelimiter(',')</li>
     * <li>withQuoteChar('"')</li>
     * <li>withIgnoreEmptyLines(true)</li>
     * <li>withLineSeparator(CRLF)</li>
     * </ul>
     */
    public static final CSVFormat DEFAULT = // TODO rename to something
more meaningful
            newBuilder()
            .build();

How about one of:

- RFC4180_WITH_EMPTY_LINES
- RFC4180_EMPTY_LINES
- RFC4180_IGNORE_EMPTY_LINES
- BASIC
- RFC4180_LENIENT
- ?

Gary

-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message