From 53ead3ffe88a2af0967fce0d92d0c48284d68807 Mon Sep 17 00:00:00 2001
From: Gary Gregory
Date: Sat, 20 Oct 2018 09:49:20 -0600
Subject: [PATCH] Better Javadoc.
---
.../org/apache/commons/csv/CSVFormat.java | 92 +++++++++----------
1 file changed, 46 insertions(+), 46 deletions(-)
diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 649085b4..99607e16 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -243,10 +243,10 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter(',')
- * - withQuote('"')
- * - withRecordSeparator("\r\n")
- * - withIgnoreEmptyLines(true)
+ * - {@code withDelimiter(',')}
+ * - {@code withQuote('"')}
+ * - {@code withRecordSeparator("\r\n")}
+ * - {@code withIgnoreEmptyLines(true)}
*
*
* @see Predefined#Default
@@ -270,11 +270,11 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - {@link #withDelimiter(char) withDelimiter(',')}
- * - {@link #withQuote(char) withQuote('"')}
- * - {@link #withRecordSeparator(String) withRecordSeparator("\r\n")}
- * - {@link #withIgnoreEmptyLines(boolean) withIgnoreEmptyLines(false)}
- * - {@link #withAllowMissingColumnNames(boolean) withAllowMissingColumnNames(true)}
+ * - {@code {@link #withDelimiter(char) withDelimiter(',')}}
+ * - {@code {@link #withQuote(char) withQuote('"')}}
+ * - {@code {@link #withRecordSeparator(String) withRecordSeparator("\r\n")}}
+ * - {@code {@link #withIgnoreEmptyLines(boolean) withIgnoreEmptyLines(false)}}
+ * - {@code {@link #withAllowMissingColumnNames(boolean) withAllowMissingColumnNames(true)}}
*
*
* Note: This is currently like {@link #RFC4180} plus {@link #withAllowMissingColumnNames(boolean)
@@ -301,10 +301,10 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter(',')
- * - withQuote("\"")
- * - withRecordSeparator('\n')
- * - withEscape('\\')
+ * - {@code withDelimiter(',')}
+ * - {@code withEscape('\\')}
+ * - {@code withQuote("\"")}
+ * - {@code withRecordSeparator('\n')}
*
*
* @see Predefined#MySQL
@@ -333,9 +333,9 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter(',')
- * - withQuote("\"")
- * - withRecordSeparator('\n')
+ * - {@code withDelimiter(',')}
+ * - {@code withQuote("\"")}
+ * - {@code withRecordSeparator('\n')}
*
*
* @see Predefined#MySQL
@@ -363,13 +363,13 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter('\t')
- * - withQuote(null)
- * - withRecordSeparator('\n')
- * - withIgnoreEmptyLines(false)
- * - withEscape('\\')
- * - withNullString("\\N")
- * - withQuoteMode(QuoteMode.ALL_NON_NULL)
+ * - {@code withDelimiter('\t')}
+ * - {@code withEscape('\\')}
+ * - {@code withIgnoreEmptyLines(false)}
+ * - {@code withQuote(null)}
+ * - {@code withRecordSeparator('\n')}
+ * - {@code withNullString("\\N")}
+ * - {@code withQuoteMode(QuoteMode.ALL_NON_NULL)}
*
*
* @see Predefined#MySQL
@@ -400,14 +400,14 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter(',') // default is {@code FIELDS TERMINATED BY ','}
- * - withQuote('"') // default is {@code OPTIONALLY ENCLOSED BY '"'}
- * - withSystemRecordSeparator()
- * - withTrim()
- * - withIgnoreEmptyLines(false)
- * - withEscape('\\')
- * - withNullString("\\N")
- * - withQuoteMode(QuoteMode.MINIMAL)
+ * - {@code withDelimiter(',') // default is {@code FIELDS TERMINATED BY ','}}
+ * - {@code withEscape('\\')}
+ * - {@code withIgnoreEmptyLines(false)}
+ * - {@code withQuote('"') // default is {@code OPTIONALLY ENCLOSED BY '"'}}
+ * - {@code withNullString("\\N")}
+ * - {@code withTrim()}
+ * - {@code withSystemRecordSeparator()}
+ * - {@code withQuoteMode(QuoteMode.MINIMAL)}
*
*
* @see Predefined#Oracle
@@ -475,13 +475,13 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter('\t')
- * - withEscape('\\')
- * - withIgnoreEmptyLines(false)
- * - withQuote('"')
- * - withRecordSeparator('\n')
- * - withNullString("\\N")
- * - withQuoteMode(QuoteMode.ALL_NON_NULL)
+ * - {@code withDelimiter('\t')}
+ * - {@code withEscape('\\')}
+ * - {@code withIgnoreEmptyLines(false)}
+ * - {@code withQuote('"')}
+ * - {@code withRecordSeparator('\n')}
+ * - {@code withNullString("\\N")}
+ * - {@code withQuoteMode(QuoteMode.ALL_NON_NULL)}
*
*
* @see Predefined#MySQL
@@ -507,10 +507,10 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter(',')
- * - withQuote('"')
- * - withRecordSeparator("\r\n")
- * - withIgnoreEmptyLines(false)
+ * - {@code withDelimiter(',')}
+ * - {@code withQuote('"')}
+ * - {@code withRecordSeparator("\r\n")}
+ * - {@code withIgnoreEmptyLines(false)}
*
*
* @see Predefined#RFC4180
@@ -526,10 +526,10 @@ public final class CSVFormat implements Serializable {
* Settings are:
*
*
- * - withDelimiter('\t')
- * - withQuote('"')
- * - withRecordSeparator("\r\n")
- * - withIgnoreSurroundingSpaces(true)
+ * - {@code withDelimiter('\t')}
+ * - {@code withQuote('"')}
+ * - {@code withRecordSeparator("\r\n")}
+ * - {@code withIgnoreSurroundingSpaces(true)}
*
*
* @see Predefined#TDF