File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 */
3030public class CSVFormat implements Serializable {
3131
32+ private static final char TAB = '\t' ;
33+
3234 private static final char DOUBLE_QUOTE = '"' ;
3335
3436 private static final char COMMA = ',' ;
@@ -113,7 +115,7 @@ public class CSVFormat implements Serializable {
113115 /** Tab-delimited format, with quote; leading and trailing spaces ignored. */
114116 public static final CSVFormat TDF =
115117 PRISTINE
116- .withDelimiter ('\t' )
118+ .withDelimiter (TAB )
117119 .withEncapsulator (DOUBLE_QUOTE )
118120 .withSurroundingSpacesIgnored (true )
119121 .withEmptyLinesIgnored (true )
@@ -129,7 +131,7 @@ public class CSVFormat implements Serializable {
129131 */
130132 public static final CSVFormat MYSQL =
131133 PRISTINE
132- .withDelimiter ('\t' )
134+ .withDelimiter (TAB )
133135 .withEscape ('\\' )
134136 .withLineSeparator ("\n " );
135137
You can’t perform that action at this time.
0 commit comments