Commit Graph

2529 Commits

Author SHA1 Message Date
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
Benedikt Ritter 6b27379c40 Fix JavaDoc references
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512619 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:51:43 +00:00
Benedikt Ritter 4213415b2c Don't make JavaDoc references from production code to test code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512618 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:49:30 +00:00
Benedikt Ritter 04a2e9ebe4 Remove unused method. It made no sense anyway, since Assert.assertArrayEquals is capable of comparing multi dimensional arrays.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512617 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:46:03 +00:00
Benedikt Ritter 8b74f0aaff Utils class is only used for internal testing, it can be package private. Also make it final since it should not be extended.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512615 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:41:27 +00:00
Benedikt Ritter 06630f4b4b Make members private, they are only needed in this test case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512614 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:39:48 +00:00
Benedikt Ritter 9631efe688 Methods are no longer used in test code. Make them private.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512610 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:32:19 +00:00
Benedikt Ritter 15b4e3f539 Sort members alphabetically
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512606 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 10:30:48 +00:00