Commit Graph

1018 Commits

Author SHA1 Message Date
Gary D. Gregory a4c1a85d9d Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739672 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:02:03 +00:00
Gary D. Gregory ad38b2d28b Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1739671 13f79535-47bb-0310-9956-ffa450edef68
2016-04-18 01:00:22 +00:00
Sebastian Bazley dd2cd54ff7 CSV-167
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727810 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 13:10:10 +00:00
Sebastian Bazley 409feb2888 Doc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727809 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 13:08:33 +00:00
Sebastian Bazley 72f78cc9d9 Oops, forgot to commit this
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727808 13f79535-47bb-0310-9956-ffa450edef68
2016-01-31 12:59:00 +00:00
Sebastian Bazley 2465f5e8f6 CSV-167 Rename method and update Javadoc to correspond with reality
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727766 13f79535-47bb-0310-9956-ffa450edef68
2016-01-30 23:40:26 +00:00
Sebastian Bazley 51049fd117 Fix test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1727538 13f79535-47bb-0310-9956-ffa450edef68
2016-01-29 11:29:09 +00:00
Gary D. Gregory 51b4bf371f Ignore experimental tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725444 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 06:21:35 +00:00
Gary D. Gregory c26c858b2e Update copyright for 2016 in NOTICE.txt
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725424 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 06:20:08 +00:00
Gary D. Gregory 82b6d2e7b4 [CSV-161] Fix Javadoc to say CSVFormat with() methods return a new CSVFormat.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725409 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 03:01:14 +00:00
Gary D. Gregory f8b80e8341 [CSV-168] CsvFormat.nullString should not be escaped. [CSV-170]
CSVFormat.MYSQL nullString should be "\N".

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725407 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 02:34:19 +00:00
Gary D. Gregory 913e4a8b97 Better Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725400 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 01:04:38 +00:00
Gary D. Gregory 5206b2a244 [CSV-169] The null string should be case-sensitive when reading records. Also simplify branch test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725358 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 22:02:05 +00:00
Gary D. Gregory 446eaf8c2a Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725356 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 21:37:46 +00:00
Gary D. Gregory c52b1f0a9d FindBugs: Avoid possible NPE.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725345 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 20:54:16 +00:00
Gary D. Gregory 453cfcbb59 Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1725344 13f79535-47bb-0310-9956-ffa450edef68
2016-01-18 20:52:21 +00:00
Gary D. Gregory 54597a8b8e Unit test for [CSV-167] Comment line hides next record.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721778 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 00:02:30 +00:00
Gary D. Gregory 6b069cf443 Fix PMDs: Unnecessary use of fully qualified name 'Constants.END_OF_STREAM' due to existing static import 'org.apache.commons.csv.Constants.END_OF_STREAM'.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1721770 13f79535-47bb-0310-9956-ffa450edef68
2015-12-26 22:44:01 +00:00
Gary D. Gregory e7d9ab0f6a TODO.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1715921 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 19:10:36 +00:00
Gary D. Gregory e0f022ee94 More tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1715712 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 22:03:06 +00:00
Gary D. Gregory d54b339caa [CSV-159] Add IgnoreCase option for accessing header names
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1708685 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 19:48:29 +00:00
Benedikt Ritter 3b10c8f8ac CSV-153: CSVPrinter doesn't skip creation of header record if skipHeaderRecord is set to true. Thanks to Wren. This also fixes #8 from github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1706542 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 10:46:49 +00:00
Gary D. Gregory 1d5dfcb8f6 Test CSV-154.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1700391 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 05:33:05 +00:00
Gary D. Gregory 68c74f6274 Test CSV-154.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1700073 13f79535-47bb-0310-9956-ffa450edef68
2015-08-29 20:51:46 +00:00
Gary D. Gregory e7ccb14d22 Version 1.2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1697754 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 18:31:49 +00:00
Gary D. Gregory b230a6f56c Move the assembly folder to its standard location.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1697091 13f79535-47bb-0310-9956-ffa450edef68
2015-08-22 15:12:56 +00:00
Gary D. Gregory c666612f89 Prepare release 1.2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1696724 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 08:30:26 +00:00
Gary D. Gregory cb3f7d7584 Preparing release 1.2-RC1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1695192 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 02:22:41 +00:00
Gary D. Gregory d402786f14 Fix Javadoc @see's.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1695190 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 02:14:33 +00:00
Gary D. Gregory aa0fbb01a0 [CSV-157] Add enum CSVFormat.Predefined that contains the default CSVFormat values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1695179 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 22:47:30 +00:00
Gary D. Gregory fd3a9862bd [CSV-157] Add enum CSVFormat.Predefined that contains the default CSVFormat values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1695178 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 22:11:24 +00:00
Gary D. Gregory 6d5611f793 Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1695167 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:08:58 +00:00
Gary D. Gregory 0e91beab00 Sort 1 method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1695166 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:08:28 +00:00
Gary D. Gregory 224d30746c [CSV-156] Incorrect Javadoc on QuoteMode.NONE.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1694977 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 07:05:58 +00:00
Gary D. Gregory cd8799e7b2 Javadoc minor tweak.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1694973 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 06:58:10 +00:00
Sebastian Bazley 3faabbfc3a CGI must be svn:executable *
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1662057 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 17:42:30 +00:00
Emmanuel Bourg 304f191735 Load the data in memory before running the benchmarks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1658653 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 09:46:36 +00:00
Emmanuel Bourg fd105586ea Exclude the benchmarks from the source distribution
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1658402 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 14:02:57 +00:00
Emmanuel Bourg 41fe7087b5 Set the amount of memory used by the benchmark
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1658398 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 13:48:34 +00:00
Emmanuel Bourg 78e2b24633 Added another baseline benchmark against StringUtils.split() from commons-lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1658392 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 12:58:44 +00:00
Emmanuel Bourg 19fbc19294 Added a JMH benchmark to compare the most commons CSV parsers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1658276 13f79535-47bb-0310-9956-ffa450edef68
2015-02-08 23:47:27 +00:00
Gary D. Gregory 65883aa4d9 [CSV-145] CSVFormat.with* methods clear the header comments
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1641845 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 16:25:17 +00:00
Gary D. Gregory 081b070256 Released Apache Commons CSV 1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1641022 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 01:21:36 +00:00
Gary D. Gregory 57df0d1de7 Prepare release 1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1640028 13f79535-47bb-0310-9956-ffa450edef68
2014-11-16 20:32:40 +00:00
Gary D. Gregory 0a93821aa5 Prepare release 1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1640014 13f79535-47bb-0310-9956-ffa450edef68
2014-11-16 17:26:05 +00:00
Gary D. Gregory 1fcbc26b73 Remove unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1638700 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 03:57:12 +00:00
Gary D. Gregory 722d696e19 [CSV-134] Unified parameter validation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1638699 13f79535-47bb-0310-9956-ffa450edef68
2014-11-12 03:49:31 +00:00
Gary D. Gregory 3c4c2518e8 Better BOM docs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1638121 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 14:29:44 +00:00
Gary D. Gregory 6757944fe5 [CSV-139] CSVPrinter.printRecord(ResultSet) with metadata.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1638117 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 14:21:00 +00:00
Gary D. Gregory 957295aceb Better exception handling.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1638111 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 14:06:58 +00:00
Gary D. Gregory a6e69b2a5e Refactor test to better abstract set up of fixture.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1638110 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 14:05:34 +00:00
Gary D. Gregory 4471e9d66a [CSV-139] CSVPrinter.printRecord(ResultSet) with metadata.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1638101 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 14:00:47 +00:00
Gary D. Gregory daa0a9a9c4 Add TODO.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637788 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 04:22:57 +00:00
Gary D. Gregory 17bb390afa Sort changes by fix, update, and add (makes sense to me at least.)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637783 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 03:18:51 +00:00
Gary D. Gregory ea5b3e0ba6 [CSV-140] QuoteMode.NON_NUMERIC doesn't work with CSVPrinter.printRecords(ResultSet)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637781 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 03:06:47 +00:00
Gary D. Gregory 288654d838 Preparing 1.1 release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637613 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 00:05:03 +00:00
Gary D. Gregory 4977ad4cbb Checkstyle: Line has trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1637611 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 23:38:48 +00:00
Gary D. Gregory e977d7e4b5 Remove in-line comment that no longer applies.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635507 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 14:15:24 +00:00
Gary D. Gregory 0c4424bb20 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635505 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 14:08:05 +00:00
Gary D. Gregory a2b9dfbd4e Add missing '@Override' annotations
Add missing '@Override' annotations to implementations of interface methods

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635504 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 14:04:49 +00:00
Gary D. Gregory a7c3ae2cfd Drop Javadoc as proposed by Benedikt Ritter on the ML.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635502 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 14:01:43 +00:00
Gary D. Gregory 5d3f0ec394 The site builds OK with Java 8 and Maven 3.2.3.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635161 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:52:39 +00:00
Gary D. Gregory 6537de2e69 Typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635160 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:49:42 +00:00
Gary D. Gregory 7f33ed95cf Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635159 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:48:50 +00:00
Gary D. Gregory 3a01f9cf49 Fix broken link and unnecessary version in text.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635158 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:48:26 +00:00
Gary D. Gregory c6c5641265 Site branding.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635156 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:47:27 +00:00
Gary D. Gregory 016cc839d2 Checkstyle: line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635147 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:31:37 +00:00
Gary D. Gregory 6a38923b7b Checkstyle: Line has trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635146 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:31:07 +00:00
Gary D. Gregory 152ce04925 Checkstyle: line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635145 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:29:45 +00:00
Gary D. Gregory 5605ef2545 Checkstyle: Line has trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635141 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:17:34 +00:00
Gary D. Gregory 12389155b3 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635130 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 13:33:33 +00:00
Gary D. Gregory 770628d292 Add org.apache.commons.csv.CSVParser.CSVParser(Reader, CSVFormat, long, long) and remove new setters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635129 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 13:33:04 +00:00
Gary D. Gregory 04d59790be Javadoc 8 fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635121 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 12:59:31 +00:00
Gary D. Gregory 4ff00a0139 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635120 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 12:59:08 +00:00
Gary D. Gregory 3abd9b380a No need to initialize values to defaults.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635119 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 12:58:01 +00:00
Benedikt Ritter 28520d57d8 Use @Ignore instead of commenting out code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635065 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 07:56:01 +00:00
Gary D. Gregory e28e28e1f2 [CSV-131] Save positions of records to enable random access. The floor is open for code review and further discussion based on the comments in the Jira.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1635052 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 05:44:40 +00:00
Benedikt Ritter c7b5b4771b Further JavaDoc corrections
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1630582 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 20:07:19 +00:00
Benedikt Ritter ef39a01a22 Correct JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1630581 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 20:05:26 +00:00
Benedikt Ritter 487c19f04f Remove JavaDoc for parameter, since the documented method does not take parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1630579 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 20:01:41 +00:00
Gary D. Gregory f2e3665185 Add missing @Override.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1625457 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 03:02:52 +00:00
Gary D. Gregory c609fb39e6 [CSV-131] Save positions of records to enable random access. 2nd commit for this new feature. Let the Lexer make the underlying reader's character position available through a new package private method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1625456 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 03:02:22 +00:00
Gary D. Gregory 9e4e3dc379 [CSV-131] Save positions of records to enable random access. First commit for this new feature. Let the ExtendedBufferedReader track how many characters it has read so far.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1625455 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 02:57:46 +00:00
Brent Worden 2785c355aa revert tostring implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624273 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 12:56:17 +00:00
Brent Worden 704e1679d2 CSV-124 replace string concatenation with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624061 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 17:28:26 +00:00
Brent Worden b1668b41e5 CSV-124 update changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624050 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 16:08:46 +00:00
Brent Worden 69cdb8a227 CSV-124 apply provided patch and update unit tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624048 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 16:05:45 +00:00
Gary D. Gregory 581279310e [CSV-130] CSVFormat#withHeader doesn't work well with #printComment, add withHeaderComments(String...). Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623987 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 12:50:47 +00:00
Gary D. Gregory e650b9d699 [CSV-130] CSVFormat#withHeader doesn't work well with #printComment, add withHeaderComments(String...). Adjust test for style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623985 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 12:49:53 +00:00
Gary D. Gregory a4f737108b [CSV-130] CSVFormat#withHeader doesn't work well with #printComment, add withHeaderComments(String...)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623984 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 12:48:02 +00:00
Gary D. Gregory 807ddd164b [CSV-132] Incorrect Javadoc referencing org.apache.commons.csv.CSVFormat withQuote()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623971 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 11:33:46 +00:00
Gary D. Gregory cebbcc8b3c Revert history in the release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1621154 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 15:38:33 +00:00
Gary D. Gregory fe514da465 [CSV-129] Add CSVFormat#with 0-arg methods matching boolean arg methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1621004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 00:28:02 +00:00
Gary D. Gregory c81ad0328e [CSV-128] CSVFormat.EXCEL should ignore empty header names
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620902 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 14:12:40 +00:00
Gary D. Gregory bc504117fc Keep a history of release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620901 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 14:07:52 +00:00
Gary D. Gregory 8867c0591f Fix compiler warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620897 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 13:46:59 +00:00
Gary D. Gregory 2a318dcf33 Oops, back out one of the previous changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620896 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 13:46:31 +00:00
Gary D. Gregory e2221de62a Fix compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620893 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 13:41:31 +00:00
Benedikt Ritter b892a78993 Update mailing list site
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618098 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 05:32:29 +00:00
Benedikt Ritter 53d8b4edc6 Document release 1.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618032 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 19:52:14 +00:00
Benedikt Ritter f0b4fc5109 Fix JavaDoc problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617076 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:23:01 +00:00
Benedikt Ritter 07e215eef5 Add Java requirement to download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617071 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:59:44 +00:00
Benedikt Ritter e729fdff4d Remove commented out code and add TODO for obscure code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617070 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:54:34 +00:00
Benedikt Ritter d69e911aea Remove import that is only used in JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617069 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:53:42 +00:00
Benedikt Ritter a6a92598de Make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617066 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:50:05 +00:00
Benedikt Ritter 67d150adc8 Restore commentMarker property which was overridden during refactoring
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612390 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 19:42:40 +00:00
Gary D. Gregory f9a3162037 Use "Character" as the postfix is ivar names. Use the method name pattern isFooSet() for ivar "foo" for methods that test foo for null (foo != null).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612352 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 17:18:20 +00:00
Benedikt Ritter a72c71f5cc Consistently rename Quote/QuotePolicy to QuoteMode
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612344 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:32:08 +00:00
Benedikt Ritter 4695d73e3b Prefix everything that is a pure getter with "get" as proposed by Gary Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612341 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:28:07 +00:00
Benedikt Ritter aa0762d538 Rename the IgnoreEmptyHeaders property to AllowMissingColumnNames
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612337 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:23:00 +00:00
Gary D. Gregory 62345245e9 Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612019 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 04:37:40 +00:00
Benedikt Ritter 7d8821225e CSV-125: No longer works with Java 6. Changing source level back to Java 6
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1611389 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 15:23:10 +00:00
Benedikt Ritter ed65e66f69 Use StandardCharsets class in user guide code examples, since it is more save than passing a string
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610786 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 18:02:02 +00:00
Benedikt Ritter f4e1197bdc Use try-with-resource in examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610781 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:58:49 +00:00
Benedikt Ritter d6de8062b5 Revert Java 7 diamond notation since JavaNCSS can't handle it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610772 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:52:53 +00:00
Benedikt Ritter 5e60966b56 Use 4 spaces indentation in examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610770 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:46:07 +00:00
Benedikt Ritter 8fdcb3da11 Remove needless method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610769 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:42:06 +00:00
Benedikt Ritter 4623756644 Elaborate on the difference between line number and record number
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610768 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:33:50 +00:00
Benedikt Ritter 4428b575e8 Document format of CSVPrinter.toString
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610766 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:30:18 +00:00
Benedikt Ritter 4144674588 Clearify the meaning of isConsistent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610761 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:17:04 +00:00
Benedikt Ritter fed4161acc Make clear that users don't need to call println() after calling printRecord()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610758 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:12:31 +00:00
Benedikt Ritter 225cbe9574 Document how the pintRecord(s) methods work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610502 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:56:19 +00:00
Benedikt Ritter 040c2606eb Rename withCommentStart to withCommentMarker to avoid confusion because there is no corresponding withCommentStop method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610494 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:34:56 +00:00
Benedikt Ritter bb54feb7cd Clearify handling of record separators and remove senseless validation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610492 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:30:37 +00:00
Benedikt Ritter f51f89828d Use is prefix for getters that return booleans
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610490 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:25:03 +00:00
Benedikt Ritter 6eac37b28d Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610486 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:10:56 +00:00
Benedikt Ritter 07fa2fd0d6 Make JavaDoc more readable and clear up field values of CSVFormats
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610485 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 19:07:28 +00:00
Benedikt Ritter 83df300f6c Correct JavaDoc that was pointing to method parseFile which has moved to the Parser
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610473 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 18:02:09 +00:00
Benedikt Ritter 13f5a0a63c Document Java version requirements correctly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610471 13f79535-47bb-0310-9956-ffa450edef68
2014-07-14 17:55:09 +00:00
Benedikt Ritter 649022fadd Activate test coverage report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610151 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 09:50:14 +00:00
Benedikt Ritter a29402b41c Add new user guide (missed that in the last commit)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609772 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:07:31 +00:00
Benedikt Ritter 0c2cdcad18 Work some more on the website
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609771 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:06:51 +00:00
Benedikt Ritter b67524da7f CSV-122: NullPointerException when empty header string and and null string of "". Thanks to Mike Lewis.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609768 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 18:42:48 +00:00
Benedikt Ritter d3afa156e4 Prepare website for 1.0 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609554 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 19:15:53 +00:00
Benedikt Ritter 4117bb493f Make Checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609552 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 19:06:44 +00:00
Benedikt Ritter 43560d92ec Make sure only record separators we can handle are used
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609548 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 18:30:29 +00:00
Benedikt Ritter b7cd1ae225 Document that we can only handle CR, LF and CRLF as record separator
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609498 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 16:42:38 +00:00
Gary D. Gregory 0e8811ddb7 Document how to handle BOMs. See also [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1606616 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 01:42:46 +00:00
Sebastian Bazley 3294ed6721 CSV-117 Validate format parameters in constructor
Oops - another test case needs fixing

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603991 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 18:24:36 +00:00
Sebastian Bazley 3cd50672f7 CSV-117 Validate format parameters in constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603967 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 17:28:22 +00:00
Sebastian Bazley f4cc9a928f Charset cannot be null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603965 13f79535-47bb-0310-9956-ffa450edef68
2014-06-19 17:25:32 +00:00
Gary D. Gregory fcaa26799a Revert previous commit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603206 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 15:50:53 +00:00
Gary D. Gregory 4b00469b22 Camel case.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603204 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 15:49:26 +00:00
Gary D. Gregory 04cee2bb14 Better error message in test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603203 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 15:45:39 +00:00
Gary D. Gregory 30860d62bd Checkstyle: Line has trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602945 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 18:09:03 +00:00
Gary D. Gregory c1049b549b Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602944 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 18:07:45 +00:00
Gary D. Gregory 2076464484 class Lexer implements Closeable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602919 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 16:16:48 +00:00
Gary D. Gregory bfa592d06b Checkstyle: Line has trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602909 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:58:42 +00:00
Gary D. Gregory 32ffe82a5f Checkstyle: '+' should be on the previous line.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602908 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:53:11 +00:00
Gary D. Gregory cdbb1cd1a6 Checkstyle: '+' should be on the previous line.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602907 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:52:50 +00:00
Gary D. Gregory fa116dd46c Format "for".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602906 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:50:14 +00:00
Gary D. Gregory 1fa12a6fc8 Checkstyle: Line is longer than 120 characters (found 141).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602904 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:48:40 +00:00
Gary D. Gregory 4b2a4caa30 Checkstyle: Line has trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602903 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:44:47 +00:00
Gary D. Gregory b993abb315 Checkstyle: Line has trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602902 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:43:51 +00:00
Gary D. Gregory 229b3b7691 org.apache.commons.csv.CSVParser.parse(File, Charset, CSVFormat) is now like org.apache.commons.csv.CSVParser.parse(URL, Charset, CSVFormat): You must pass in a Charset.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602901 13f79535-47bb-0310-9956-ffa450edef68
2014-06-16 15:39:52 +00:00
Gary D. Gregory 49579ec643 Forgot to make org.apache.commons.csv.CSVFormat.ignoreEmptyHeaders final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602242 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 17:33:12 +00:00
Gary D. Gregory 99c3819bec [CSV-121] Exception that the header contains duplicate names when the column names are empty. Added the setting ignoreEmptyHeaders, defaults to false to keep the IAE as the default behavior.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602206 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 15:38:24 +00:00
Gary D. Gregory f9871c5d35 [CSV-121] Exception that the header contains duplicate names when the column names are empty. Add a test that shows that TWO missing header is not OK.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602168 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 13:59:33 +00:00
Gary D. Gregory 5a9436d462 [CSV-121] Exception that the header contains duplicate names when the column names are empty. Add a test that shows that ONE missing header is OK.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1602166 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 13:57:48 +00:00
Gary D. Gregory 1282503fb9 <action issue="CSV-120" type="add" dev="ggregory" due-to="Sergei Lebedev">CSVFormat#withHeader doesn't work with CSVPrinter</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1601517 13f79535-47bb-0310-9956-ffa450edef68
2014-06-09 22:21:22 +00:00
Gary D. Gregory 65f110ec14 <action issue="CSV-119" type="add" dev="ggregory" due-to="Sergei Lebedev">CSVFormat is missing a print(...) method</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1599285 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 18:04:49 +00:00
Gary D. Gregory 2480dffa6d <action issue="CSV-118" type="fix" dev="ggregory" due-to="Enrique Lara">CSVRecord.toMap() throws NPE on formats with no headers.</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1594966 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 16:26:26 +00:00
Gary D. Gregory 0331565fba Format with 2 spaces per XML indent and 120 chars line width.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1594965 13f79535-47bb-0310-9956-ffa450edef68
2014-05-15 16:24:56 +00:00
Sebastian Bazley 88a7e755e6 CSV-113 Check whether ISE/IAE are being used appropriately
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1593148 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 22:12:56 +00:00
Sebastian Bazley 16b175b01a tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1593097 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 18:12:10 +00:00
Sebastian Bazley 7945a4f24c Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1593094 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 18:09:06 +00:00
Sebastian Bazley 35d101c2ad CSV-114 CSVFormat constructor should reject a header array with duplicate entries
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1593076 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 17:27:31 +00:00
Benedikt Ritter 692a1e362d Make CSVFormat constructor package private since it is only used in CSVFormat.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592833 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 18:37:15 +00:00
Benedikt Ritter 4698a563dc Add missing fields to hashcode and equals methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592832 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 18:32:38 +00:00
Benedikt Ritter 3e8fe990dd Add some pointers for contirbutors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592830 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 18:24:17 +00:00
Benedikt Ritter 85226d80e6 CSV-115: Simplify boolean expressions in CSVRecord. This also closes #1 from github. Thanks to Furkan Kamaci.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592822 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 18:11:37 +00:00
Sebastian Bazley a3260ed930 Avoid IDE warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592639 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 22:03:17 +00:00
Benedikt Ritter d030030d3d Shamelessly steal the support section from commons lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592616 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 19:26:41 +00:00
Benedikt Ritter c08219e0d7 Document reliance of parse(File, CSVFormat) to default encoding
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592604 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:45:55 +00:00
Benedikt Ritter 07a73d2824 Fix checkstyle error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592600 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:36:31 +00:00
Benedikt Ritter a3da0a7a5a CSV now has it's own jira project
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592596 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:25:33 +00:00
Benedikt Ritter 7d51af9404 Make checkstyle happy (line is longer than 120 characters)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592382 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 17:01:07 +00:00
Benedikt Ritter 2fdf2c8a19 Document all fixed issues
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592380 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 16:58:53 +00:00
Benedikt Ritter ce4e72701b CSV-112: HeaderMap is inconsistent when it is parsed from an input with duplicate columns names. Reported by Romain Gossé
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592371 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 16:22:34 +00:00
Benedikt Ritter c84328e64a Fix JavaDoc errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1592365 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 16:08:56 +00:00
Gary D. Gregory 9f03b06a1e [CSV-111] CSVRecord.toMap() fails if row length shorter than header length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1589281 13f79535-47bb-0310-9956-ffa450edef68
2014-04-22 20:20:17 +00:00
Gary D. Gregory a84668e0ea Revert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585716 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 13:02:01 +00:00
Gary D. Gregory 966cd208ca [CSV-110] Add ability to parse single lines.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585496 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 14:50:26 +00:00
Gary D. Gregory 51f226d0f8 Add org.apache.commons.csv.CSVParserTest.testGetOneLineOneParser(). See discussion in [CSV-110].
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585492 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 14:31:03 +00:00
Gary D. Gregory 0f3b3367c3 Add org.apache.commons.csv.CSVParserTest.testGetOneLineOneParser(). See discussion in [CSV-110].
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585491 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 14:29:32 +00:00
Gary D. Gregory 8e18054f3b Better ivar name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1585096 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 14:06:43 +00:00
Gary D. Gregory 5daf49a180 Add API org.apache.commons.csv.CSVParser.getRecords(T).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1584936 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 23:28:17 +00:00
Gary D. Gregory c2ed3be44d Add API org.apache.commons.csv.CSVParser.getRecords(T).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1584903 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 20:44:46 +00:00
Gary D. Gregory 6b3afdc93d Clean up constant name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1584893 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 20:30:02 +00:00
Sebastian Bazley ffdfffb8f2 TRailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582822 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:52:17 +00:00
Sebastian Bazley 7bba60a559 Ensure resources are released
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582817 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:44:41 +00:00
Sebastian Bazley 9873b13df2 Don't omit default cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582814 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:38:26 +00:00
Sebastian Bazley 1933f8abaf Avoid resource leak warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582813 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:37:54 +00:00
Sebastian Bazley d6294bc598 Ignore test code boxing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582812 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 16:37:35 +00:00
Gary D. Gregory 0fbefc96be Add some interesting ASCII codes to Constants class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1582481 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 21:22:59 +00:00
Gary D. Gregory e454d6847e Simplest behavior: null -> exception, like the other params.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578504 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 18:41:52 +00:00
Gary D. Gregory 5d5458d7f6 Simplest behavior: null -> exception, like the other params.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578502 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 18:40:58 +00:00
Gary D. Gregory c8630e103a Clean up tests for [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578397 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 14:32:38 +00:00
Gary D. Gregory fcdf1f2efa Clean up tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578199 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:08:43 +00:00
Gary D. Gregory 3cb24cbdfb The charset can be null and will default to UTF-8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578198 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:08:00 +00:00