Skip to content

Commit cf1e392

Browse files
committed
Javadoc
1 parent 94523a1 commit cf1e392

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,13 @@
7070
* <li>{@link #EXCEL}</li>
7171
* <li>{@link #INFORMIX_UNLOAD}</li>
7272
* <li>{@link #INFORMIX_UNLOAD_CSV}</li>
73+
* <li>{@link #MONGODB_CSV}</li>
74+
* <li>{@link #MONGODB_TSV}</li>
7375
* <li>{@link #MYSQL}</li>
74-
* <li>{@link #RFC4180}</li>
7576
* <li>{@link #ORACLE}</li>
7677
* <li>{@link #POSTGRESQL_CSV}</li>
7778
* <li>{@link #POSTGRESQL_TEXT}</li>
79+
* <li>{@link #RFC4180}</li>
7880
* <li>{@link #TDF}</li>
7981
* </ul>
8082
*
@@ -1059,7 +1061,13 @@ public CSVFormat getFormat() {
10591061
* This is a comma-delimited format. Values are double quoted only if needed and special characters are escaped with {@code '"'}. A header line with field
10601062
* names is expected.
10611063
* </p>
1062-
*
1064+
* <p>
1065+
* As of 2024-04-05, the MongoDB documentation for {@code mongoimport} states:
1066+
* </p>
1067+
* <blockquote>The csv parser accepts that data that complies with RFC <a href="https://tools.ietf.org/html/4180">RFC-4180</a>.
1068+
* As a result, backslashes are not a valid escape character. If you use double-quotes to enclose fields in the CSV data, you must escape
1069+
* internal double-quote marks by prepending another double-quote.
1070+
* </blockquote>
10631071
* <p>
10641072
* The {@link Builder} settings are:
10651073
* </p>

0 commit comments

Comments
 (0)