@@ -1441,15 +1441,19 @@ public static CSVFormat valueOf(final String format) {
14411441 return CSVFormat .Predefined .valueOf (format ).getFormat ();
14421442 }
14431443
1444+ /** How duplicate headers are handled. */
14441445 private final DuplicateHeaderMode duplicateHeaderMode ;
14451446
1447+ /** Whether missing column names are allowed when parsing the header line. */
14461448 private final boolean allowMissingColumnNames ;
14471449
1450+ /** Whether to flush on close. */
14481451 private final boolean autoFlush ;
14491452
14501453 /** Set to null if commenting is disabled. */
14511454 private final Character commentMarker ;
14521455
1456+ /** The character delimiting the values (typically ";", "," or "\t"). */
14531457 private final String delimiter ;
14541458
14551459 /** Set to null if escaping is disabled. */
@@ -1461,12 +1465,13 @@ public static CSVFormat valueOf(final String format) {
14611465 /** Array of header comment lines. */
14621466 private final String [] headerComments ;
14631467
1468+ /** Whether empty lines between records are ignored when parsing input. */
14641469 private final boolean ignoreEmptyLines ;
14651470
14661471 /** Should ignore header names case. */
14671472 private final boolean ignoreHeaderCase ;
14681473
1469- /** TODO Should leading/trailing spaces be ignored around values?. */
1474+ /** Should leading/trailing spaces be ignored around values?. */
14701475 private final boolean ignoreSurroundingSpaces ;
14711476
14721477 /** The string to be used for null values. */
@@ -1475,21 +1480,28 @@ public static CSVFormat valueOf(final String format) {
14751480 /** Set to null if quoting is disabled. */
14761481 private final Character quoteCharacter ;
14771482
1483+ /** Set to {@code quoteCharacter + nullString + quoteCharacter} */
14781484 private final String quotedNullString ;
14791485
1486+ /** The quote policy output fields. */
14801487 private final QuoteMode quoteMode ;
14811488
14821489 /** For output. */
14831490 private final String recordSeparator ;
14841491
1492+ /** Whether to skip the header record. */
14851493 private final boolean skipHeaderRecord ;
14861494
1495+ /** Whether reading end-of-file is allowed even when input is malformed, helps Excel compatibility. */
14871496 private final boolean lenientEof ;
14881497
1498+ /** Whether reading trailing data is allowed in records, helps Excel compatibility. */
14891499 private final boolean trailingData ;
14901500
1501+ /** Whether to add a trailing delimiter. */
14911502 private final boolean trailingDelimiter ;
14921503
1504+ /** Whether to trim leading and trailing blanks. */
14931505 private final boolean trim ;
14941506
14951507 private CSVFormat (final Builder builder ) {
0 commit comments