Skip to content

Commit bbb2da1

Browse files
committed
Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300678 13f79535-47bb-0310-9956-ffa450edef68
1 parent 31896b6 commit bbb2da1

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

src/main/java/org/apache/commons/csv/CSVFormat.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)