Javadoc fixes.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458636 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-03-20 05:16:26 +00:00
parent 0956f6e85d
commit 6b1eaad5a6
1 changed files with 4 additions and 2 deletions

View File

@ -125,10 +125,11 @@ public class CSVFormat implements Serializable {
.build();
/**
* Creates a new CSV format builds.
* Creates a new CSV format builder.
*
* @param delimiter
* the char used for value separation, must not be a line break character
* @return a new CSV format builder.
* @throws IllegalArgumentException if the delimiter is a line break character
*/
public static CSVFormatBuilder newBuilder(final char delimiter) {
@ -140,13 +141,14 @@ public class CSVFormat implements Serializable {
}
/**
* Standard comma separated format, as for {@link #RFC4180} but allowing blank lines.
* Creates a standard comma separated format builder, as for {@link #RFC4180} but allowing empty lines.
* <ul>
* <li>withDelimiter(',')</li>
* <li>withQuoteChar('"')</li>
* <li>withEmptyLinesIgnored(true)</li>
* <li>withLineSeparator(CRLF)</li>
* </ul>
* @return a standard comma separated format builder, as for {@link #RFC4180} but allowing empty lines.
*/
public static CSVFormatBuilder newBuilder() {
return new CSVFormatBuilder(COMMA, DOUBLE_QUOTE_CHAR, null, null, null, false, true, CRLF, null);