Commit Graph

962 Commits

Author SHA1 Message Date
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
Gary D. Gregory aff3891701 Update test dependencies to latest (some depend on Java 6), which is OK since we depend on Java 7 now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610906 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 03:11:45 +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 17ab151667 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609777 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:24:23 +00:00
Benedikt Ritter f5640d1f00 Define RAT exclusions for test data
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609776 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:23:56 +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 f33baa4594 Add CSV-122 to RELEASE-NOTES.txt
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1609769 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 18:44:30 +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 52a57cba33 findbugs-maven-plugin 2.5.3 -> 2.5.4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603169 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 13:52:45 +00:00
Gary D. Gregory 038de89639 commons-parent 34.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1603167 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 13:49:29 +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