Skip to content

Commit 53ead3f

Browse files
committed
Better Javadoc.
1 parent 60b1c8e commit 53ead3f

1 file changed

Lines changed: 46 additions & 46 deletions

File tree

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

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,10 @@ public CSVFormat getFormat() {
243243
* Settings are:
244244
* </p>
245245
* <ul>
246-
* <li>withDelimiter(',')</li>
247-
* <li>withQuote('"')</li>
248-
* <li>withRecordSeparator("\r\n")</li>
249-
* <li>withIgnoreEmptyLines(true)</li>
246+
* <li>{@code withDelimiter(',')}</li>
247+
* <li>{@code withQuote('"')}</li>
248+
* <li>{@code withRecordSeparator("\r\n")}</li>
249+
* <li>{@code withIgnoreEmptyLines(true)}</li>
250250
* </ul>
251251
*
252252
* @see Predefined#Default
@@ -270,11 +270,11 @@ public CSVFormat getFormat() {
270270
* Settings are:
271271
* </p>
272272
* <ul>
273-
* <li>{@link #withDelimiter(char) withDelimiter(',')}</li>
274-
* <li>{@link #withQuote(char) withQuote('"')}</li>
275-
* <li>{@link #withRecordSeparator(String) withRecordSeparator("\r\n")}</li>
276-
* <li>{@link #withIgnoreEmptyLines(boolean) withIgnoreEmptyLines(false)}</li>
277-
* <li>{@link #withAllowMissingColumnNames(boolean) withAllowMissingColumnNames(true)}</li>
273+
* <li>{@code {@link #withDelimiter(char) withDelimiter(',')}}</li>
274+
* <li>{@code {@link #withQuote(char) withQuote('"')}}</li>
275+
* <li>{@code {@link #withRecordSeparator(String) withRecordSeparator("\r\n")}}</li>
276+
* <li>{@code {@link #withIgnoreEmptyLines(boolean) withIgnoreEmptyLines(false)}}</li>
277+
* <li>{@code {@link #withAllowMissingColumnNames(boolean) withAllowMissingColumnNames(true)}}</li>
278278
* </ul>
279279
* <p>
280280
* Note: This is currently like {@link #RFC4180} plus {@link #withAllowMissingColumnNames(boolean)
@@ -301,10 +301,10 @@ public CSVFormat getFormat() {
301301
* Settings are:
302302
* </p>
303303
* <ul>
304-
* <li>withDelimiter(',')</li>
305-
* <li>withQuote("\"")</li>
306-
* <li>withRecordSeparator('\n')</li>
307-
* <li>withEscape('\\')</li>
304+
* <li>{@code withDelimiter(',')}</li>
305+
* <li>{@code withEscape('\\')}</li>
306+
* <li>{@code withQuote("\"")}</li>
307+
* <li>{@code withRecordSeparator('\n')}</li>
308308
* </ul>
309309
*
310310
* @see Predefined#MySQL
@@ -333,9 +333,9 @@ public CSVFormat getFormat() {
333333
* Settings are:
334334
* </p>
335335
* <ul>
336-
* <li>withDelimiter(',')</li>
337-
* <li>withQuote("\"")</li>
338-
* <li>withRecordSeparator('\n')</li>
336+
* <li>{@code withDelimiter(',')}</li>
337+
* <li>{@code withQuote("\"")}</li>
338+
* <li>{@code withRecordSeparator('\n')}</li>
339339
* </ul>
340340
*
341341
* @see Predefined#MySQL
@@ -363,13 +363,13 @@ public CSVFormat getFormat() {
363363
* Settings are:
364364
* </p>
365365
* <ul>
366-
* <li>withDelimiter('\t')</li>
367-
* <li>withQuote(null)</li>
368-
* <li>withRecordSeparator('\n')</li>
369-
* <li>withIgnoreEmptyLines(false)</li>
370-
* <li>withEscape('\\')</li>
371-
* <li>withNullString("\\N")</li>
372-
* <li>withQuoteMode(QuoteMode.ALL_NON_NULL)</li>
366+
* <li>{@code withDelimiter('\t')}</li>
367+
* <li>{@code withEscape('\\')}</li>
368+
* <li>{@code withIgnoreEmptyLines(false)}</li>
369+
* <li>{@code withQuote(null)}</li>
370+
* <li>{@code withRecordSeparator('\n')}</li>
371+
* <li>{@code withNullString("\\N")}</li>
372+
* <li>{@code withQuoteMode(QuoteMode.ALL_NON_NULL)}</li>
373373
* </ul>
374374
*
375375
* @see Predefined#MySQL
@@ -400,14 +400,14 @@ public CSVFormat getFormat() {
400400
* Settings are:
401401
* </p>
402402
* <ul>
403-
* <li>withDelimiter(',') // default is {@code FIELDS TERMINATED BY ','}</li>
404-
* <li>withQuote('"') // default is {@code OPTIONALLY ENCLOSED BY '"'}</li>
405-
* <li>withSystemRecordSeparator()</li>
406-
* <li>withTrim()</li>
407-
* <li>withIgnoreEmptyLines(false)</li>
408-
* <li>withEscape('\\')</li>
409-
* <li>withNullString("\\N")</li>
410-
* <li>withQuoteMode(QuoteMode.MINIMAL)</li>
403+
* <li>{@code withDelimiter(',') // default is {@code FIELDS TERMINATED BY ','}}</li>
404+
* <li>{@code withEscape('\\')}</li>
405+
* <li>{@code withIgnoreEmptyLines(false)}</li>
406+
* <li>{@code withQuote('"') // default is {@code OPTIONALLY ENCLOSED BY '"'}}</li>
407+
* <li>{@code withNullString("\\N")}</li>
408+
* <li>{@code withTrim()}</li>
409+
* <li>{@code withSystemRecordSeparator()}</li>
410+
* <li>{@code withQuoteMode(QuoteMode.MINIMAL)}</li>
411411
* </ul>
412412
*
413413
* @see Predefined#Oracle
@@ -475,13 +475,13 @@ public CSVFormat getFormat() {
475475
* Settings are:
476476
* </p>
477477
* <ul>
478-
* <li>withDelimiter('\t')</li>
479-
* <li>withEscape('\\')</li>
480-
* <li>withIgnoreEmptyLines(false)</li>
481-
* <li>withQuote('"')</li>
482-
* <li>withRecordSeparator('\n')</li>
483-
* <li>withNullString("\\N")</li>
484-
* <li>withQuoteMode(QuoteMode.ALL_NON_NULL)</li>
478+
* <li>{@code withDelimiter('\t')}</li>
479+
* <li>{@code withEscape('\\')}</li>
480+
* <li>{@code withIgnoreEmptyLines(false)}</li>
481+
* <li>{@code withQuote('"')}</li>
482+
* <li>{@code withRecordSeparator('\n')}</li>
483+
* <li>{@code withNullString("\\N")}</li>
484+
* <li>{@code withQuoteMode(QuoteMode.ALL_NON_NULL)}</li>
485485
* </ul>
486486
*
487487
* @see Predefined#MySQL
@@ -507,10 +507,10 @@ public CSVFormat getFormat() {
507507
* Settings are:
508508
* </p>
509509
* <ul>
510-
* <li>withDelimiter(',')</li>
511-
* <li>withQuote('"')</li>
512-
* <li>withRecordSeparator("\r\n")</li>
513-
* <li>withIgnoreEmptyLines(false)</li>
510+
* <li>{@code withDelimiter(',')}</li>
511+
* <li>{@code withQuote('"')}</li>
512+
* <li>{@code withRecordSeparator("\r\n")}</li>
513+
* <li>{@code withIgnoreEmptyLines(false)}</li>
514514
* </ul>
515515
*
516516
* @see Predefined#RFC4180
@@ -526,10 +526,10 @@ public CSVFormat getFormat() {
526526
* Settings are:
527527
* </p>
528528
* <ul>
529-
* <li>withDelimiter('\t')</li>
530-
* <li>withQuote('"')</li>
531-
* <li>withRecordSeparator("\r\n")</li>
532-
* <li>withIgnoreSurroundingSpaces(true)</li>
529+
* <li>{@code withDelimiter('\t')}</li>
530+
* <li>{@code withQuote('"')}</li>
531+
* <li>{@code withRecordSeparator("\r\n")}</li>
532+
* <li>{@code withIgnoreSurroundingSpaces(true)}</li>
533533
* </ul>
534534
*
535535
* @see Predefined#TDF

0 commit comments

Comments
 (0)