From 478a6b19413df8a5a806548367670a64da3592b4 Mon Sep 17 00:00:00 2001 From: Ken Williams Date: Fri, 14 Feb 2014 17:47:46 -0600 Subject: [PATCH] Tell the user what the default quote/escape/sep characters are Since there are various versions of the CSV "standard" floating around - most notably how embedded quotes are escaped. --- readme.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 807c719..1b1c5b5 100644 --- a/readme.md +++ b/readme.md @@ -20,6 +20,14 @@ create table my_table(a string, b string, ...) ### Custom formatting +The default separator, quote, and escape characters from the `opencsv` library are: + +``` +DEFAULT_ESCAPE_CHARACTER \ +DEFAULT_QUOTE_CHARACTER " +DEFAULT_SEPARATOR , +``` + You can also specify custom separator, quote, or escape characters. ``` @@ -54,4 +62,4 @@ Run `mvn eclipse:eclipse` to generate `.project` and `.classpath` files for ecli ## License -csv-serde is open source and licensed under the [Apache 2 License](http://www.apache.org/licenses/LICENSE-2.0.html). \ No newline at end of file +csv-serde is open source and licensed under the [Apache 2 License](http://www.apache.org/licenses/LICENSE-2.0.html).