Commit Graph

1955 Commits

Author SHA1 Message Date
Gary D. Gregory 4efb5ae19a Replace magic char with constant COMMA.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397074 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:27:56 +00:00
Gary D. Gregory 2ea171f2ed Remove extra parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397071 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:24:23 +00:00
Gary D. Gregory fccccfd095 Update to CP 27.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397060 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:02:42 +00:00
Gary D. Gregory 4bc562f47b Organize imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397059 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 14:02:33 +00:00
Gary D. Gregory 6359d220bd Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383942 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 13:49:05 +00:00
Gary D. Gregory 3cd5c85e8a [CVS-92] Need a way to extract parsed headers, e.g. for use in formatting output.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383934 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 13:41:06 +00:00
Gary D. Gregory 25f4b3e998 Sort methods in AB order.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383924 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 13:14:48 +00:00
Gary D. Gregory 473727be26 Rename ivar headerMapping -> headerMap.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383920 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:59:30 +00:00
Gary D. Gregory 7c86611ee4 Fix web site image reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383916 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:33:50 +00:00
Gary D. Gregory 5e7945e1ce Last of the Checkstyle fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383758 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 04:14:01 +00:00
Gary D. Gregory 57a1aef278 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383611 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 21:09:12 +00:00
Gary D. Gregory 6c1b0fa1c4 Fix Checkstyle: Format for 120 line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383598 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 20:12:27 +00:00
Gary D. Gregory 8608520aa1 Rename pname from 'tkn' to 'token'.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383583 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:47:51 +00:00
Gary D. Gregory 93fc1f9363 Fix Checkstyle: Format for 120 line length.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383582 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:47:15 +00:00
Sebastian Bazley a5d3d4ed7c Add assembly descriptors and plugin build reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383580 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:45:32 +00:00
Gary D. Gregory 42a4812bce Fix Checkstyle: File does not end with a newline.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383578 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:41:25 +00:00
Gary D. Gregory bf06bed9b8 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:40:37 +00:00
Gary D. Gregory 0638a37368 Match ASF headers to checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383573 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:36:54 +00:00
Gary D. Gregory 6a132b40ab Match ASF headers to checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383572 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:35:45 +00:00
Gary D. Gregory 97d59f8704 Replace empty throws that "should not happen" with an IllegalStateException.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383569 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:30:21 +00:00
Gary D. Gregory cc4cc4747e Remove extra blank line.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383567 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:25:12 +00:00
Gary D. Gregory e235b2a63c Refactor '\r' and '\n' into constants.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383564 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:17:25 +00:00
Gary D. Gregory 29944bcec1 Fix incorrect Javadoc method reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383558 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:08:56 +00:00
Gary D. Gregory 3eff704245 Remove unneeded @SuppressWarnings("unused")
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383557 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:03:45 +00:00
Gary D. Gregory 87466459c0 Add default serialVersionUID to two classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383556 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:03:03 +00:00
Gary D. Gregory 71ded2eff0 Better version and date.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383555 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:58:30 +00:00
Gary D. Gregory 4cec1b66f2 Add missing ASF header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383554 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:55:58 +00:00
Gary D. Gregory 763c7e0d11 Add missing ASF header and XML PI.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383553 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:55:18 +00:00
Gary D. Gregory 1018dafd5d Add missing ASF header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383545 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:54:17 +00:00
Gary D. Gregory 4173bc1079 Add more reports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383535 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:51:54 +00:00
Gary D. Gregory 2806ec85d0 Define groupId org.apache.commons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383514 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:30:53 +00:00
Gary D. Gregory 50d48c98f2 Use commons-parent 26.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383513 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:29:53 +00:00
Gary D. Gregory b372050f7f Fix compilation issue.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1383504 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:18:14 +00:00
Olivier Lamy 539c976728 ignore idea files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1348843 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 13:37:42 +00:00
Sebastian Bazley 720b341bf0 CSV-90 CSVFormat isEscaping/isEncapsulating are not public
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1327754 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 00:23:51 +00:00
Sebastian Bazley adf5f834db Covert to new style package Javadoc; tidy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307210 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 01:51:28 +00:00
Sebastian Bazley 795fe61858 Use public CRLF constant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307205 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 01:33:02 +00:00
Sebastian Bazley d89a0f482f Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307201 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 01:16:45 +00:00
Sebastian Bazley 5c3e51363f Use public CRLF constant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307188 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 01:00:32 +00:00
Sebastian Bazley 0186a3d335 CRLF might as well be public to make it easier to use to build formats.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307187 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 00:58:36 +00:00
Sebastian Bazley d994897420 Reduce dependency on DISABLED package constant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307186 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 00:57:29 +00:00
Sebastian Bazley 7d2ec7a053 CSV-85 Allow comments to be returned in CSVRecord
Added test for comment before header

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307078 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 19:50:26 +00:00
Sebastian Bazley 29c80daa3c Add test for CSV-57
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307068 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 19:26:28 +00:00
Sebastian Bazley 5a925ff1ff Another baseline
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307043 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 18:49:20 +00:00
Sebastian Bazley 3296f59696 Javadoc tweak
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1307042 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 18:48:47 +00:00
Sebastian Bazley aae00f39ad CSV-85 Allow comments to be returned in CSVRecord
More test cases

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306948 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 16:03:32 +00:00
Sebastian Bazley 787ab08db9 CSV-85 Allow comments to be returned in CSVRecord
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306947 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 16:03:03 +00:00
Sebastian Bazley e94085595f CSV-35 add test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306896 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 15:10:56 +00:00
Sebastian Bazley a07c9f72fc Improve escape tests
Fix bug in readEscape() - was not handling EOF

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306890 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 15:01:04 +00:00
Sebastian Bazley 5c9697c158 More debug
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1306889 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 14:57:55 +00:00