Jacopo Cappellato
339c2a689c
Test cases for \r and \n line endings (SANDBOX-218).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065525 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 08:49:23 +00:00
Jacopo Cappellato
822e653a0e
Test cases for the scenarios described in SANDBOX-161:
...
* Double quotes (") should be escaped using two double quotes (""), rather than a backslash (\").
* Embedded line breaks are allowed and don't need to be escaped... just enclose the field in double quotes.
* Because backslashes are not used to escape double quotes or line breaks, the backslashes themselves do not need to be escaped.
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065519 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 08:34:21 +00:00
Jacopo Cappellato
6b422c82bd
Fix for issue reported in SANDBOX-218: CSV reader doesn't handle older Mac line endings (\r) that are also used by recent versions of Excel for Mac.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065496 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 07:10:57 +00:00
Jacopo Cappellato
cfcca024a5
Added javadoc documentation for some missing parameters for a CSVStrategy constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065347 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 18:45:26 +00:00
Joerg Schaible
b1edd537c7
CSVWriter.writeValue does not use value delimiter (SANDBOX-243).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1037647 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 09:47:55 +00:00
Joerg Schaible
6eddaf8b0c
Apply configurable row delimiter by Dmitry Drozdov (SANDBOX-329).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1003046 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 12:48:59 +00:00
Yonik Seeley
0d63758e09
SANDBOX-322: remember to print separators everywhere
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@966014 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 21:16:37 +00:00
Yonik Seeley
4dfc8ed074
SANDBOX-313: Endless loops in CSV parser when last line is comment
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@964273 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 01:32:55 +00:00
Yonik Seeley
02b21463e6
SANDBOX-322: CSVPrinter overhaul
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@955284 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:12:34 +00:00
Niall Pemberton
404b05e0ef
Generate custom Mailing List pages for sandbox components (using "mvn commons:mail-page")
...
See http://commons.apache.org/commons-build-plugin/mail-page.html
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@936561 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 23:09:24 +00:00
Niall Pemberton
0c96cd8c3f
Upgrade to commons-sandbox-parent version 9
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@936558 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 22:55:26 +00:00
Niall Pemberton
a6071964fd
Upgrade to commons-sandbox-parent-8
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@925472 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:07:34 +00:00
Niall Pemberton
32430dfaa9
change commons-sandbox-parent to version 7 and re-generate issue-tracking pages to correct comment
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@678580 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 21:54:43 +00:00
Niall Pemberton
bdd2fa69d6
COMMONSSITE-30 - fix the checkstyle configuration to work for multi-module and review/update <reporting> plugin version numbers for the poms being changed.
...
- pom's need to use ${basedir} for configuration files as the multi-module profile is run from commons-parent, so if not specified it can't find those files
- the checkstyle configuration file needs to use ${checkstyle.header.file} for the headerFile property and <headerFile> element added to the plugin config in the pom.xml
- fix m1 checkstyle config to reflect the above where appropriate (specify header file property)
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@659747 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 02:25:23 +00:00
Niall Pemberton
0888f8a72d
Upgrade to commons-sandbox-parent-6 pom
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@657403 13f79535-47bb-0310-9956-ffa450edef68
2008-05-17 17:29:48 +00:00
Niall Pemberton
74845f8004
upgrade to version 5 of commons-sandbox-parent
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@649944 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 17:27:20 +00:00
Henri Yandell
66063ec3c8
Unnecessary file
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@635454 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 06:39:46 +00:00
Henri Yandell
f444c7cd3b
Removing unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@635453 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 06:38:55 +00:00
Niall Pemberton
257a15ec05
Generate Issue Tracking pages using commons-build-plugin and update site menus
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@633752 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 02:55:25 +00:00
Niall Pemberton
a78644df7e
Upgrade to version 4 of commons-sandbox-parent and add properties for commons-build-plugin
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@633751 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 02:53:30 +00:00
Henri Yandell
40fb601cbf
Making ExtendedBufferedReader package private to tighten the API - SANDBOX-219
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631853 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 05:36:32 +00:00
Henri Yandell
2afbbfbdc0
Removing unnecessary suite() methods, object attributes and constructors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631847 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 04:59:16 +00:00
Henri Yandell
aab25c2543
Removing the AllTests - we're only using Maven2, so I don't think they have any major value
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631308 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 17:26:55 +00:00
Henri Yandell
e1377ddc67
Making PMD suggested changes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631134 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:49:04 +00:00
Henri Yandell
1b0ccbe4c7
Applying checkstyle changes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631133 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:47:08 +00:00
Henri Yandell
9acb622adf
Breaking lines that are > 120
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631131 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:43:37 +00:00
Henri Yandell
ee95ad7a13
Removing System outs - SANDBOX-217
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631129 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:40:45 +00:00
Niall Pemberton
5b0ffe4c88
Update to released version 3 of commons-sandbox-parent pom
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@613379 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 09:19:28 +00:00
Niall Pemberton
663077ca29
Remove Jakarta references, fix site generation errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@612447 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 13:26:26 +00:00
Yonik Seeley
086f434320
SANDBOX-206: fix whitespace handling w/ escaping, add an option to not remove trailing whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@609327 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 15:13:09 +00:00
Yonik Seeley
b55fb21d78
SANDBOX-206: add escape to strategy, turn off backslash-style escaping by default
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@609155 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 15:37:26 +00:00
Yonik Seeley
f34ce7d093
adding Yonik to CSV developers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@609038 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 22:41:50 +00:00
Yonik Seeley
d3b38ab190
SANDBOX-202: CSVWriter can't handle missing entries in the Map - or non-String map values
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@608911 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 16:38:28 +00:00
Henri Yandell
520b7309e9
Dumping M1 (and the M1 generated Ant file) build
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@608773 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 08:47:44 +00:00
Henri Yandell
28a19cdb93
Adding link to SuperCSV
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@597285 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 02:43:25 +00:00
Henri Yandell
9d143251b6
Changing name to 'Commons Xxx (Sandbox)'
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@568978 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 13:37:40 +00:00
Henri Yandell
ade92f4fac
Adding a '(Sandbox)' because it seems like a good idea
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@568621 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 14:20:20 +00:00
Henri Yandell
7c49bfe2f1
Removing 'Commons ' from the pom.xml name to match other components
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@568620 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 14:16:32 +00:00
Henri Yandell
a3b59d5200
Upgrading to the latest sandbox parent
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@568617 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 14:14:37 +00:00
Henri Yandell
34f4c0188b
The docs moved to src/site, so adjusting the dist to pull them in from there
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@564039 13f79535-47bb-0310-9956-ffa450edef68
2007-08-08 22:57:37 +00:00
Dennis Lundberg
204c6f5b47
Update to latest sandbox parent.
...
Use standardized values in distributionManagement.
Lock version for maven-changes-plugin.
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@561955 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 21:17:32 +00:00
Rahul Akolkar
8279c297b2
TLP move related blanket changes. Please review if possible.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@561364 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 15:45:52 +00:00
Henri Yandell
344168bb3d
Fixing the email addresses to the new lists
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@560802 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 20:10:20 +00:00
Henri Yandell
12e034b598
Moving to TLP
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@560660 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 03:42:34 +00:00
Henri Yandell
5ea120346f
Moving back :)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@560658 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 03:42:15 +00:00
Henri Yandell
6ee7abcab7
Moving to TLP
...
git-svn-id: https://svn.apache.org/repos/asf/commons/commons/sandbox/csv/trunk@560657 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 03:40:41 +00:00
Matthew Jason Benson
1d7ebab211
use strategy encapsulator in printer rather than assuming double-quote
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@558885 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:32:42 +00:00
Matthew Jason Benson
14182380d5
fix eol detection
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@558883 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:25:10 +00:00
Matthew Jason Benson
ee4962c1ec
wording
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@558882 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:22:45 +00:00
Martin van den Bemt
7faf450900
Make sure only 10 lines or less are read. Thanx to Stuart Robertson for noticing
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@526450 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 16:25:07 +00:00