Commit Graph

1036 Commits

Author SHA1 Message Date
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
Benedikt Ritter a12573e717 Add headings for different topics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522825 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 09:22:33 +00:00
Benedikt Ritter 7ab4840ba4 Creation of CSVParser instances is now documented at the begining of the JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522824 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 09:14:22 +00:00
Benedikt Ritter e9ff3ef208 Document how to create CSVParser instances
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522823 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 09:07:41 +00:00
Benedikt Ritter ad956f348a Don't use yet another term for format
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522820 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:56:47 +00:00
Benedikt Ritter 196260e8fa Correct indentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522819 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:52:18 +00:00
Benedikt Ritter e01400d2c6 TDF is also predefined
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522817 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:51:12 +00:00
Benedikt Ritter 20e6c4e617 Use correct return type in JavaDoc - a list is returned, not an array.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522814 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:43:25 +00:00
Benedikt Ritter 1299090016 mvn clean site will not create the jar for you
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522812 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:34:05 +00:00
Benedikt Ritter 46ce06d3ff We are really iterating over records here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522811 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:29:49 +00:00
Benedikt Ritter 67155b3d52 Add reference to RFC 4180
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522810 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:23:26 +00:00
Benedikt Ritter 0a6f94b2a3 Add alternative abbreviation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522809 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:14:54 +00:00
Benedikt Ritter 10b1110942 Always write 'CSV' in capital letters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1522807 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 08:09:32 +00:00
Benedikt Ritter c43e8fa5de Remove fallback logic for charset parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1519269 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 13:36:08 +00:00
Benedikt Ritter 724c88dbec Remove unnecessary generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1518974 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 14:10:49 +00:00
Benedikt Ritter 6c44286b6d Add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1518808 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 20:25:19 +00:00
Benedikt Ritter a2fef00ab8 Make methods that create parsers or printers fail early and provide an expressive error messages. Document new behavior in JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1518802 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 20:18:13 +00:00
Benedikt Ritter 33cf289907 Remove factory methods for creating CSVParsers for classpath resources
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1513994 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 18:07:13 +00:00
Benedikt Ritter 817561f4d7 Add test that documents behavior of multiple iterators over the same CSVParser.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1513228 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 19:23:16 +00:00
Benedikt Ritter 5a30b37043 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512650 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 11:46:28 +00:00
Benedikt Ritter 012146e476 Make checkstyle happy: Line was longer than 120 chars
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512626 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 11:08:57 +00:00
Benedikt Ritter e0b79fe691 Make checkstyle happy: Line was longer than 120 chars, file contained tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512625 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 11:07:15 +00:00
Benedikt Ritter 1e70eaaaf4 Make checkstyle happy: remove trailing whitespace
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512624 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 11:05:10 +00:00
Benedikt Ritter 5db1a2c110 Make checkstyle happy: remove trailing white spaces, break line that was longer than 120 chars.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512623 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 11:04:34 +00:00
Benedikt Ritter df7b7d39cc Remove redundant cast
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512622 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:58:42 +00:00
Benedikt Ritter 375b273ced No need for explicitly creating an array. Arrays.asList is a varargs method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512621 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:57:32 +00:00
Benedikt Ritter c75345870e Fix JavaDoc references
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512620 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:52:09 +00:00