diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java index 566728a3..3158fcd1 100644 --- a/src/main/java/org/apache/commons/csv/CSVFormat.java +++ b/src/main/java/org/apache/commons/csv/CSVFormat.java @@ -36,7 +36,7 @@ import java.util.Set; /** * Specifies the format of a CSV file and parses input. * - *

Using predefined formats

+ *

Using predefined formats

* *

* You can use one of the predefined formats: @@ -64,7 +64,7 @@ import java.util.Set; * *

CSVParser parser = CSVFormat.parseFile(file, CSVFormat.EXCEL);
* - *

Defining formats

+ *

Defining formats

* *

* You can extend a format by calling the {@code with} methods. For example: @@ -76,7 +76,7 @@ import java.util.Set; * .withIgnoreSurroundingSpaces(true); * * - *

Defining column names

+ *

Defining column names

* *

* To define the column names you want to use to access records, write: @@ -94,7 +94,7 @@ import java.util.Set; * {@link #withSkipHeaderRecord(boolean)} with {@code true}. *

* - *

Parsing

+ *

Parsing

* *

* You can use a format directly to parse a reader. For example, to parse an Excel file with columns header, write: @@ -109,7 +109,7 @@ import java.util.Set; * For other input types, like resources, files, and URLs, use the static methods on {@link CSVParser}. *

* - *

Referencing columns safely

+ *

Referencing columns safely

* *

* If your source contains a header record, you can simplify your code and safely reference columns, @@ -134,7 +134,7 @@ import java.util.Set; * This makes your code impervious to changes in column order in the CSV file. *

* - *

Notes

+ *

Notes

* *

* This class is immutable. @@ -188,13 +188,18 @@ public final class CSVFormat implements Serializable { /** * Excel file format (using a comma as the value delimiter). Note that the actual value delimiter used by Excel is * locale dependent, it might be necessary to customize this format to accommodate to your regional settings. - *

+ * + *

* For example for parsing or generating a CSV file on a French system the following format will be used: + *

* *
      * CSVFormat fmt = CSVFormat.newBuilder(EXCEL).withDelimiter(';');
      * 
+ * + *

* Settings are: + *

*