@@ -64,12 +64,12 @@ public class CSVFormat implements Serializable {
6464 */
6565 public static final CSVFormat EXCEL = new CSVFormat (',' , '"' , DISABLED , DISABLED , false , false , false , false , "\r \n " );
6666
67- /** Tabulation delimited format. */
67+ /** Tab- delimited format, with quote; leading and trailing spaces ignored . */
6868 public static final CSVFormat TDF = new CSVFormat ('\t' , '"' , DISABLED , DISABLED , true , true , false , true , "\r \n " );
6969
7070 /**
7171 * Default MySQL format used by the <tt>SELECT INTO OUTFILE</tt> and
72- * <tt>LOAD DATA INFILE</tt> operations. This is a tabulation delimited
72+ * <tt>LOAD DATA INFILE</tt> operations. This is a tab- delimited
7373 * format with a LF character as the line separator. Values are not quoted
7474 * and special characters are escaped with '\'.
7575 *
@@ -89,6 +89,7 @@ public class CSVFormat implements Serializable {
8989 * @param trailingSpacesIgnored <tt>true</tt> when trailing whitespaces should be ignored
9090 * @param unicodeEscapesInterpreted <tt>true</tt> when unicode escapes should be interpreted
9191 * @param emptyLinesIgnored <tt>true</tt> when the parser should skip emtpy lines
92+ * @param lineSeparator the line separator to use.
9293 */
9394 CSVFormat (
9495 char delimiter ,
@@ -352,7 +353,7 @@ public CSVFormat withEmptyLinesIgnored(boolean emptyLinesIgnored) {
352353 }
353354
354355 /**
355- * Returns the line separator delimiting the records.
356+ * Returns the line separator delimiting output records.
356357 *
357358 * @return the line separator
358359 */
@@ -361,10 +362,11 @@ public String getLineSeparator() {
361362 }
362363
363364 /**
364- * Returns a copy of this format using the specified line separator.
365+ * Returns a copy of this format using the specified output line separator.
365366 *
366- * @param lineSeparator the line separator
367- * @return A copy of this format using the specified line separator
367+ * @param lineSeparator the line separator to be used for output.
368+ *
369+ * @return A copy of this format using the specified output line separator
368370 */
369371 public CSVFormat withLineSeparator (String lineSeparator ) {
370372 return new CSVFormat (delimiter , encapsulator , commentStart , escape , leadingSpacesIgnored , trailingSpacesIgnored , unicodeEscapesInterpreted , emptyLinesIgnored , lineSeparator );
0 commit comments