Commit Graph

962 Commits

Author SHA1 Message Date
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 932b294410 Update Checkstyle and PMD.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578206 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 02:11:50 +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
Gary D. Gregory f3f34073ae Testing [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578197 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:06:17 +00:00
Gary D. Gregory c4f74756ff Testing [CSV-107] CSVFormat.EXCEL.parse should handle byte order marks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578196 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 01:05:57 +00:00
Gary D. Gregory c473d87f23 The charset can be null and will default to UTF-8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578191 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 00:50:55 +00:00
Gary D. Gregory 7b8cc87fd8 Format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578189 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 00:48:01 +00:00
Gary D. Gregory fa3416da03 Sort methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1578187 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 00:33:09 +00:00
Gary D. Gregory 73cc5246cf [CSV-106] CSVFormat.format always append null.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1577011 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 00:16:57 +00:00
Gary D. Gregory bf8f23c310 Sort in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1576750 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:29:33 +00:00
Gary D. Gregory 5d28695b99 Update to commons-parent 33.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1567668 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 16:06:12 +00:00
Gary D. Gregory 2414250b69 Fix generics issue.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560399 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 16:07:23 +00:00
Gary D. Gregory 8ba293b934 Add @Test testRemoveAndAddColumns.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560389 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 15:49:14 +00:00
Gary D. Gregory e3ffcc5cd7 Add accessor for out ivar.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560384 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 15:27:35 +00:00
Gary D. Gregory 58233665d0 Sort methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560382 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 15:25:22 +00:00
Gary D. Gregory 011510efbd Javdoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560088 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 16:51:53 +00:00
Gary D. Gregory 228268310b Javadoc: use the active voice.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560005 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 13:35:01 +00:00
Gary D. Gregory 7b27106237 Internal refactoring. If we have a toMap, a toList makes sense (which is already needed internally).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560003 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 13:34:34 +00:00
Gary D. Gregory 5f9a1987ff Hide a method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1560001 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 13:30:35 +00:00
Gary D. Gregory 59411494e0 Use final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1559908 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 02:44:30 +00:00
Gary D. Gregory d01e6b5421 [CSV-105] Add Map conversion API to CSVRecord.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1559905 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 02:12:02 +00:00
Gary D. Gregory 64de57a0bc Sort members.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1559898 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 01:55:23 +00:00
Gary D. Gregory 5ec59afdda Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1558889 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 19:07:07 +00:00
Gary D. Gregory b3553addb7 The local variable record is hiding a field from type CSVParser.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1558888 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 19:05:43 +00:00
Benedikt Ritter cb5de89971 Update copy right year
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1555108 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 14:30:50 +00:00
Sebastian Bazley 494adcb948 ASF Branding
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1534206 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 15:16:01 +00:00
Sebastian Bazley db83d51432 Must not advertise nightly builds to general public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1526903 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 13:53:47 +00:00
Sebastian Bazley 28c0a36e24 Maven 2 also works
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1526902 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 13:52:46 +00:00
Gary D. Gregory 22601f647f [CSV-100] CSVParser: getHeaderMap throws NPE.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1524435 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 14:57:57 +00:00
Benedikt Ritter 2b5f84ede1 Document how to create CSVParsers via CSVFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1523213 13f79535-47bb-0310-9956-ffa450edef68
2013-09-14 11:13:22 +00:00
Benedikt Ritter 7982e227ae Make CSVFormat final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1523210 13f79535-47bb-0310-9956-ffa450edef68
2013-09-14 11:03:44 +00:00
Benedikt Ritter 08f1bbf914 Changes in toString broke test cases. Align test data to new toString implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522893 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:18:52 +00:00
Benedikt Ritter 32e1fb0ce0 Add output of the header array to toString implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522890 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:11:09 +00:00
Benedikt Ritter 5e0f654e80 Add output of recordSeparator to toString implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522887 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:02:20 +00:00
Benedikt Ritter 2b54d16e9a Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522882 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:53:23 +00:00
Benedikt Ritter ef202e7429 Add output of header record skipping to toString implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522880 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:42:29 +00:00
Benedikt Ritter 65ce9e99ea Add output of the nullString to toString implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522879 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:39:52 +00:00
Benedikt Ritter 467a504a2d Add method to check if null handling has been defined
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522878 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:38:32 +00:00
Benedikt Ritter eda3c7070a Woops, messed up renaming in r1522875. Change type name to match the new file name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522876 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:26:59 +00:00
Benedikt Ritter cd02e63c1f CSVLexer has been renamed to Lexer. Rename test the same way
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522875 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:25:43 +00:00
Benedikt Ritter 3740067de8 Document contents of headerMap
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522870 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:13:27 +00:00
Benedikt Ritter 23898d62e2 Format JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522865 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 11:01:28 +00:00
Benedikt Ritter cb900843d2 Add heading for notes section
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522864 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 10:56:22 +00:00
Benedikt Ritter 4215230883 CSV content can also be parsed partly into memory, if records have already been consumed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522862 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 10:54:30 +00:00
Benedikt Ritter 497d3cb51a Add documentation about parsing CSV content into memory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522861 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 10:53:33 +00:00
Benedikt Ritter 8a5f777a0e CSVParser JavaDoc should be about using the CSVParser and not how to customize CSVFormats. Customizing CSVFormats is subject of CSVFormat JavaDoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522836 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 09:44:55 +00:00
Benedikt Ritter ffb63750e2 Use @see tag to link to further documentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522829 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 09:28:05 +00:00