Commit Graph

2634 Commits

Author SHA1 Message Date
Emmanuel Bourg cacb79dab9 Changed the visibility of the Token types and the protected methods to package private
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199769 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:26:09 +00:00
Emmanuel Bourg 43b777b982 Made the static fields final in CSVStrategy
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199768 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:16:22 +00:00
Emmanuel Bourg e6e80741d8 Removed an unused constructor in ExtendedBufferedReader
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199761 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:56:16 +00:00
Emmanuel Bourg 5f1aa66714 CharBuffer is now package private
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199749 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:40:16 +00:00
Emmanuel Bourg 165a5dcaf4 Optimized imports
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199697 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 11:17:33 +00:00
Emmanuel Bourg c9aeca5c39 Moved the directories to match the Maven layout
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199691 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 10:38:54 +00:00
Stephen Colebourne 76cab04936 Ignore Eclipse files
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1148829 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 16:14:54 +00:00
Jacopo Cappellato 1166ca605b No functional changes are contained in this commit: reformatted Java code to fix several formatting inconsistencies (between classes and within the same class); sorry for the big commit, but I have preferred to isolate into one commit all the formatting changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065950 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 08:46:00 +00:00
Jacopo Cappellato fe5bd51f8a Applied patch contributed by Henri Yandell in SANDBOX-219: "ExtendedBufferedReader does too much"
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065948 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 08:18:59 +00:00
Jacopo Cappellato c6bdecabd8 Fixes for typos in comments and javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065549 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 10:47:56 +00:00
Jacopo Cappellato 58149e21ad Resolved warning caused by the usage of a deprecated constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065526 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 08:50:59 +00:00
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