Sebastian Bazley
1299ddfe3f
Oops - fix bug introduced in r1303933
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303948 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 18:15:20 +00:00
Sebastian Bazley
fa07dea585
CSV-71 - Add convenience Methods to CSVLexer
...
Use convenience fields from Lexer parent class; missed one method replacement earlier
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303933 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 18:00:43 +00:00
Sebastian Bazley
523171ed41
Additional convenience fields
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303929 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:56:03 +00:00
Sebastian Bazley
83e4a903b1
CSV-71 - Add convenience Methods to CSVLexer
...
Use convenience methods from Lexer parent class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303904 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:27:51 +00:00
Sebastian Bazley
ff41f78ef5
Temporary copy of original CSVLexer for performance comparison.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303901 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 17:25:48 +00:00
Sebastian Bazley
1ae3639d2c
CSV-71 - Add convenience Methods to CSVLexer
...
Added methods to Lexer parent class (updated CSVLexer to follow)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303882 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 16:37:01 +00:00
Sebastian Bazley
fdfe50842f
Allow class to be instantiated dynamically
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303879 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 16:32:44 +00:00
Sebastian Bazley
72e830c08c
Allow testing of dynamically loaded CSVLexers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303878 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 16:28:47 +00:00
Sebastian Bazley
5111efd46d
Add direct lexer tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303719 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 10:29:11 +00:00
Sebastian Bazley
1e0dd7b4b3
Reduce Eclipse warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303699 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 09:25:44 +00:00
Sebastian Bazley
65ab9db952
Make it easy to provide an alternative lexer if required
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303620 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 23:46:44 +00:00
Sebastian Bazley
7592782eee
Move Token into separate file for more flexibility
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303506 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:04:50 +00:00
Sebastian Bazley
3ea8118ff3
Move Token into separate file for more flexibility
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303505 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:04:32 +00:00
Sebastian Bazley
0519364a83
Excel works as well for the input file
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303504 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:03:30 +00:00
Sebastian Bazley
75bd702468
CSV-74 - CSVFormat definitions are difficult to read and maintain
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303488 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 18:20:05 +00:00
Sebastian Bazley
9fb2b4f2b1
CSV-79 - CSVFormat.isCommentingDisabled() is confusing/confused
...
renamed method to isCommentingEnabled and fixed code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303483 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 18:13:54 +00:00
Sebastian Bazley
d0035e6c7a
headerMapping is only created once, so make it final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1303455 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 16:01:31 +00:00
Sebastian Bazley
10bf28ee2e
eol native
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1302383 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 11:52:10 +00:00
Sebastian Bazley
4c5dbfefa5
We need a description
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1302262 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 03:03:42 +00:00
Sebastian Bazley
564e8244b6
create strings for each field
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1302039 13f79535-47bb-0310-9956-ffa450edef68
2012-03-18 00:00:36 +00:00
Sebastian Bazley
b227c29978
Add tests of ExtendedBufferedReader for comparison
...
Allow tests to be configured dynamically
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1302037 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 23:34:42 +00:00
Sebastian Bazley
462af64456
Simplify
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301973 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 18:19:22 +00:00
Sebastian Bazley
83b1072703
Add test for CSV-75
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301971 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 18:17:15 +00:00
Sebastian Bazley
a019caec3f
Simplify assertions, and provide details if the strings are not equal
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301967 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 17:36:38 +00:00
Sebastian Bazley
16278171d2
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301938 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 13:37:54 +00:00
Sebastian Bazley
c9dedff12e
CSV-67 UnicodeUnescapeReader should not be applied before parsing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301928 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 12:29:15 +00:00
Sebastian Bazley
9a705d8605
Initial checkin of test harness
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301864 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 04:57:49 +00:00
Sebastian Bazley
d422c1a8b5
Simplify and avoid boxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301862 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 04:17:44 +00:00
Sebastian Bazley
530c93392c
@Override; explicit unboxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301861 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 04:12:16 +00:00
Sebastian Bazley
7d07c1915c
Explict boxing
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301860 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 04:11:03 +00:00
Emmanuel Bourg
aee6c50e28
Header support (CSV-65)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301852 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 01:39:04 +00:00
Sebastian Bazley
d45289f384
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301298 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 00:49:03 +00:00
Emmanuel Bourg
3362f9c9d8
Static imports in the unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1301084 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 16:54:30 +00:00
Gary D. Gregory
186e9f9804
Update to JUnit 4.10 from 3.8.1.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300977 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 13:44:44 +00:00
Emmanuel Bourg
38670dbe92
Moved the lexer in a separate file
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300850 13f79535-47bb-0310-9956-ffa450edef68
2012-03-15 08:52:05 +00:00
Emmanuel Bourg
35b954ed36
Optimized trimTrailingSpaces
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300780 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 23:12:57 +00:00
Sebastian Bazley
861da51f24
@literal clearer than <span>
...
Props Benedikt Ritter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300707 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 20:18:56 +00:00
Sebastian Bazley
1746b7475d
Document why we use CRLF rather than local line separator
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300706 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 20:12:32 +00:00
Sebastian Bazley
0ea3603628
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300699 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 19:48:12 +00:00
Sebastian Bazley
bbb2da1b69
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300678 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 18:34:23 +00:00
Sebastian Bazley
31896b6d43
FIx test due to change in remove() behaviour
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300675 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 18:24:52 +00:00
Sebastian Bazley
b30da4450f
It's not a line, it's a record
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300665 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 17:59:09 +00:00
Sebastian Bazley
eb6ffbb7f3
Not needed outside the iterator
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300664 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 17:57:24 +00:00
Sebastian Bazley
f7220c40b1
CSV-60 CSVParser.iterator().remove() should throw throw new UnsupportedOperationException()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300661 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 17:43:35 +00:00
Emmanuel Bourg
3cb5801a98
Replaced CharBuffer with StringBuilder (CSV-59)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300659 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 17:42:28 +00:00
Sebastian Bazley
f8294d2d22
Check that Unicode works with the MYSQL format which uses backslash as its escape character
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300591 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 15:26:14 +00:00
Sebastian Bazley
ecf59bef6e
Check iterator is done
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300585 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 15:15:18 +00:00
Sebastian Bazley
8033a710b0
Rename local variables to make them easier to read
...
l (ell) looks rather like 1 (one)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300540 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 13:38:43 +00:00
Sebastian Bazley
18d706032a
Perform the cheaper test first
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300531 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 13:03:11 +00:00
Emmanuel Bourg
d2c8f90800
Improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300516 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 12:01:47 +00:00
Emmanuel Bourg
637426c50d
Removed unused methods from CharBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300491 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 10:01:55 +00:00
Emmanuel Bourg
9141cb39e6
Changed while loops (CSV-55)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299706 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 15:12:55 +00:00
Emmanuel Bourg
afc831bcb8
Optimized ExtendedBufferedReader as suggested by Bob Smith in CSV-42 (improves the performance by 30%)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299618 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 10:47:15 +00:00
Emmanuel Bourg
12b600c252
Serialization test for CSVFormat
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299580 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:45:34 +00:00
Emmanuel Bourg
94b9f8dc95
Minor performance improvement (~2%)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299486 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:23:37 +00:00
Emmanuel Bourg
740a1b6993
Removed the volatile modifier on the fields in CSVFormat to improve the performances
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299479 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:01:23 +00:00
Niall Pemberton
107c90daae
Fix issue-tracking page config & re-generate
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299315 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 00:13:46 +00:00
Gary D. Gregory
dcd7a8e061
A logo with TM mark.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299135 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 01:44:42 +00:00
Sebastian Bazley
a73628d09f
CSV moved to proper
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1299115 13f79535-47bb-0310-9956-ffa450edef68
2012-03-10 00:26:29 +00:00
Sebastian Bazley
883780bcf6
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298953 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 18:15:02 +00:00
Emmanuel Bourg
7ccc4c7c01
Made the fields of CSVFormat volatile to ensure its thread safety (SANDBOX-408)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298910 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 16:42:06 +00:00
Sebastian Bazley
84e46bd585
Missing @Override
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298517 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:12:23 +00:00
Emmanuel Bourg
2ec4c994c0
Renamed CSVParser.getLine() into getRecord() to avoid confusions since a record can span several lines
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298333 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 09:59:51 +00:00
Emmanuel Bourg
a65806a126
Validation of the format parameters (suggested by Bob Smith in SANDBOX-291)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298234 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 00:00:42 +00:00
Sebastian Bazley
72d6e797ca
private field unchanged after construction, so might as well be final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298225 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 23:42:23 +00:00
Sebastian Bazley
ac6e85792f
Stop Eclipse complaining about fall-through
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298223 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 23:41:14 +00:00
Sebastian Bazley
5e12903325
private fields are unchanged after construction, so might as well be final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298221 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 23:38:46 +00:00
Sebastian Bazley
78d3d98406
Silence Eclipse warning about unthrown Exception
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298217 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 23:35:46 +00:00
Sebastian Bazley
660f37a20a
@Override + Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298215 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 23:34:39 +00:00
Emmanuel Bourg
194e21c283
More Javadoc for CSVFormat
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298176 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:34:51 +00:00
Emmanuel Bourg
ca7bbae40e
Extracted the lexer from CSVParser in a distinct class (suggested by Bob Smith)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298033 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 18:21:52 +00:00
Emmanuel Bourg
898b7f9629
Added a mutator to CSVFormat to change the trimming behavior at both ends
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298013 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 16:32:36 +00:00
Emmanuel Bourg
00d0def695
Replaced the unicode escaping code from the parser with a class implementing java.io.Reader
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1298001 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 15:58:12 +00:00
Emmanuel Bourg
60709c2040
Added a predefined format for MySQL (SANDBOX-410)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297944 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 11:29:32 +00:00
Emmanuel Bourg
4f3ef66ce3
Removed the constructors of CSVFormat from the public API, as well as the DISABLED constant which becomes useless because the special characters are disabled by default in the predefined formats
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297930 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 11:02:52 +00:00
Emmanuel Bourg
516b82b471
Made all public methods in CharBuffer and ExtendedBufferedReader package private
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297719 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 21:00:44 +00:00
Emmanuel Bourg
9dd3dda09f
Removed the package private method CSVParser.nextToken()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297431 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 11:23:04 +00:00
Emmanuel Bourg
6cf4a36a4e
Added a note in the Javadoc explaining the issue with the value separator for the Excel format (SANDBOX-263)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297429 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 11:20:36 +00:00
Emmanuel Bourg
4ea25c050e
Removed the writer package (SANDBOX-269), fixed width fields are out of the scope of [csv]
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297383 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 08:46:26 +00:00
Emmanuel Bourg
e7434e5cb5
Changed CSVPrinter to print to any Appendable and optimized the internals to avoid string copies
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297309 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 00:48:34 +00:00
Emmanuel Bourg
e80b8112a7
Fixed the NullPointerException on null values in CSVPrinter and print an empty value instead (SANDBOX-209)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297306 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 00:09:51 +00:00
Emmanuel Bourg
fafacd179d
Made CSVPrinter.print(char[], int, int, boolean) private
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297138 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 17:30:44 +00:00
Emmanuel Bourg
323b7aedae
Varargs for CSVPrinter.println()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297136 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 17:28:56 +00:00
Emmanuel Bourg
f6c0433b65
Added a constructor with a String to CSVParser and removed CSVUtils
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297135 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 17:27:28 +00:00
Emmanuel Bourg
1a35541867
Added a convenient format() method in CSVFormat replacing CSVUtils.printLine()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297091 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:42:03 +00:00
Emmanuel Bourg
a53c76b43a
Removed unused methods from CharBuffer
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297078 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 15:01:41 +00:00
Emmanuel Bourg
fa5dca3be1
Test cases for CSVPrinter.printComment()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297075 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 14:42:14 +00:00
Emmanuel Bourg
7bd9d1d970
Updated the Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297043 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 13:08:19 +00:00
Emmanuel Bourg
312f5b033e
Added a convenient parse() method to CSVFormat
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1297022 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 12:12:04 +00:00
Emmanuel Bourg
c7f90f93c6
Changed the default line separator to \r\n to comply with RFC 4180 (SANDBOX-163)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1201115 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 00:16:56 +00:00
Emmanuel Bourg
70337bef8f
Changed the return type of CSVFormat.clone()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1201060 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 21:34:36 +00:00
Emmanuel Bourg
2598862d94
Fixed the immutability of the delimiter in CSVFormat
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200283 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 11:58:02 +00:00
David Brosius
9acd5cd4d3
bad logic, should use || rather than &&, but instanceof covers the null case anyway
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200112 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 03:37:47 +00:00
Emmanuel Bourg
2417ea6c4e
Changed the signature of CSVUtils.printLine() to use varargs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200065 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 00:41:43 +00:00
Emmanuel Bourg
9cb66ca7fb
Reduced the constants in CSVFormat for disabling the features to only one
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200061 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 00:26:09 +00:00
Emmanuel Bourg
4a48180eb6
Removed the references to Jakarta and fixed some links
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200041 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 23:39:17 +00:00
Emmanuel Bourg
045dbbbe4a
Made CSVParser iterable to simplify the iteration over the records
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1200024 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 23:04:13 +00:00
Emmanuel Bourg
a7bd28c496
Renamed CSVParser.getAllValues() to getRecords()
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199997 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 22:04:01 +00:00
Emmanuel Bourg
16bfec07ff
Turned the token types into an Enum
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199872 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 17:11:22 +00:00
Emmanuel Bourg
cbcfb72912
Upgrading to Java 5
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199845 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:58:32 +00:00
Emmanuel Bourg
cb99634ab3
Renamed CSVStrategy to CSVFormat
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199842 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:54:09 +00:00
Emmanuel Bourg
42476f4b08
CSVStrategy is now immutable (SANDBOX-279)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199827 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:21:23 +00:00
Emmanuel Bourg
fc4ccb426e
Removed CSVParser.nextValue() (SANDBOX-220)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199780 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:54:05 +00:00
Emmanuel Bourg
d90fa381c4
Made the protected fields in CSVPrinter private
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199775 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:42:58 +00:00
Emmanuel Bourg
be3cb017eb
Removed the deprecated constructors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199772 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:31:40 +00:00
Emmanuel Bourg
cacb79dab9
Changed the visibility of the Token types and the protected methods to package private
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199769 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:26:09 +00:00
Emmanuel Bourg
43b777b982
Made the static fields final in CSVStrategy
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199768 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 14:16:22 +00:00
Emmanuel Bourg
e6e80741d8
Removed an unused constructor in ExtendedBufferedReader
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199761 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:56:16 +00:00
Emmanuel Bourg
5f1aa66714
CharBuffer is now package private
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199749 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:40:16 +00:00
Emmanuel Bourg
165a5dcaf4
Optimized imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199697 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 11:17:33 +00:00
Emmanuel Bourg
c9aeca5c39
Moved the directories to match the Maven layout
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1199691 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 10:38:54 +00:00
Jacopo Cappellato
1166ca605b
No functional changes are contained in this commit: reformatted Java code to fix several formatting inconsistencies (between classes and within the same class); sorry for the big commit, but I have preferred to isolate into one commit all the formatting changes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065950 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 08:46:00 +00:00
Jacopo Cappellato
fe5bd51f8a
Applied patch contributed by Henri Yandell in SANDBOX-219: "ExtendedBufferedReader does too much"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065948 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 08:18:59 +00:00
Jacopo Cappellato
c6bdecabd8
Fixes for typos in comments and javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065549 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 10:47:56 +00:00
Jacopo Cappellato
58149e21ad
Resolved warning caused by the usage of a deprecated constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065526 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 08:50:59 +00:00
Jacopo Cappellato
339c2a689c
Test cases for \r and \n line endings (SANDBOX-218).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065525 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 08:49:23 +00:00
Jacopo Cappellato
822e653a0e
Test cases for the scenarios described in SANDBOX-161:
...
* Double quotes (") should be escaped using two double quotes (""), rather than a backslash (\").
* Embedded line breaks are allowed and don't need to be escaped... just enclose the field in double quotes.
* Because backslashes are not used to escape double quotes or line breaks, the backslashes themselves do not need to be escaped.
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065519 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 08:34:21 +00:00
Jacopo Cappellato
6b422c82bd
Fix for issue reported in SANDBOX-218: CSV reader doesn't handle older Mac line endings (\r) that are also used by recent versions of Excel for Mac.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065496 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 07:10:57 +00:00
Jacopo Cappellato
cfcca024a5
Added javadoc documentation for some missing parameters for a CSVStrategy constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1065347 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 18:45:26 +00:00
Joerg Schaible
b1edd537c7
CSVWriter.writeValue does not use value delimiter (SANDBOX-243).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1037647 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 09:47:55 +00:00
Joerg Schaible
6eddaf8b0c
Apply configurable row delimiter by Dmitry Drozdov (SANDBOX-329).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@1003046 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 12:48:59 +00:00
Yonik Seeley
0d63758e09
SANDBOX-322: remember to print separators everywhere
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@966014 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 21:16:37 +00:00
Yonik Seeley
4dfc8ed074
SANDBOX-313: Endless loops in CSV parser when last line is comment
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@964273 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 01:32:55 +00:00
Yonik Seeley
02b21463e6
SANDBOX-322: CSVPrinter overhaul
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@955284 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:12:34 +00:00
Niall Pemberton
404b05e0ef
Generate custom Mailing List pages for sandbox components (using "mvn commons:mail-page")
...
See http://commons.apache.org/commons-build-plugin/mail-page.html
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@936561 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 23:09:24 +00:00
Niall Pemberton
32430dfaa9
change commons-sandbox-parent to version 7 and re-generate issue-tracking pages to correct comment
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@678580 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 21:54:43 +00:00
Henri Yandell
66063ec3c8
Unnecessary file
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@635454 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 06:39:46 +00:00
Henri Yandell
f444c7cd3b
Removing unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@635453 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 06:38:55 +00:00
Niall Pemberton
257a15ec05
Generate Issue Tracking pages using commons-build-plugin and update site menus
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@633752 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 02:55:25 +00:00
Henri Yandell
40fb601cbf
Making ExtendedBufferedReader package private to tighten the API - SANDBOX-219
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631853 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 05:36:32 +00:00
Henri Yandell
2afbbfbdc0
Removing unnecessary suite() methods, object attributes and constructors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631847 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 04:59:16 +00:00
Henri Yandell
aab25c2543
Removing the AllTests - we're only using Maven2, so I don't think they have any major value
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631308 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 17:26:55 +00:00
Henri Yandell
e1377ddc67
Making PMD suggested changes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631134 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:49:04 +00:00
Henri Yandell
1b0ccbe4c7
Applying checkstyle changes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631133 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:47:08 +00:00
Henri Yandell
9acb622adf
Breaking lines that are > 120
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631131 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:43:37 +00:00
Henri Yandell
ee95ad7a13
Removing System outs - SANDBOX-217
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@631129 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 08:40:45 +00:00
Niall Pemberton
663077ca29
Remove Jakarta references, fix site generation errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@612447 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 13:26:26 +00:00
Yonik Seeley
086f434320
SANDBOX-206: fix whitespace handling w/ escaping, add an option to not remove trailing whitespace
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@609327 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 15:13:09 +00:00
Yonik Seeley
b55fb21d78
SANDBOX-206: add escape to strategy, turn off backslash-style escaping by default
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@609155 13f79535-47bb-0310-9956-ffa450edef68
2008-01-05 15:37:26 +00:00
Yonik Seeley
d3b38ab190
SANDBOX-202: CSVWriter can't handle missing entries in the Map - or non-String map values
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@608911 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 16:38:28 +00:00
Henri Yandell
28a19cdb93
Adding link to SuperCSV
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@597285 13f79535-47bb-0310-9956-ffa450edef68
2007-11-22 02:43:25 +00:00
Rahul Akolkar
8279c297b2
TLP move related blanket changes. Please review if possible.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@561364 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 15:45:52 +00:00
Henri Yandell
344168bb3d
Fixing the email addresses to the new lists
...
git-svn-id: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk@560802 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 20:10:20 +00:00
Matthew Jason Benson
1d7ebab211
use strategy encapsulator in printer rather than assuming double-quote
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@558885 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:32:42 +00:00
Matthew Jason Benson
14182380d5
fix eol detection
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@558883 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:25:10 +00:00
Matthew Jason Benson
ee4962c1ec
wording
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@558882 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 22:22:45 +00:00
Martin van den Bemt
7faf450900
Make sure only 10 lines or less are read. Thanx to Stuart Robertson for noticing
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@526450 13f79535-47bb-0310-9956-ffa450edef68
2007-04-07 16:25:07 +00:00
Yonik Seeley
20d3ec46fd
allocate extra space when expanding CharBuffer: SANDBOX-189
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@522920 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 14:16:09 +00:00
Yonik Seeley
bf186393db
trivial cleanup of javadoc errors
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@501549 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 20:39:40 +00:00
Yonik Seeley
3c08f7a5c4
prevent blocking on lookahead after EOL: SANDBOX-173
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@501543 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 20:29:06 +00:00
Dennis Lundberg
0089bfa1f2
Fix the xdoc syntax so that the resulting xhtml is valid.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@495782 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 23:16:06 +00:00
Dennis Lundberg
53f9bf904a
Remove the parts that are inherited from the parent.
...
Fix menu name.
Remove old skin reference.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@493621 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 00:39:08 +00:00
Dennis Lundberg
1c642fc7ec
Set EOL-style to native.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@493488 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 15:40:40 +00:00
Dennis Lundberg
e2f0367ba6
Add configuration for the changes report.
...
Move changes.xml file to default location for Maven 2.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@493486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 15:29:06 +00:00
Yonik Seeley
05fdf22a6c
change excel strategy to use ',' as the separator: SANDBOX-182
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@489553 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 03:42:06 +00:00
Yonik Seeley
415218fb6d
change inner class Token to static
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483716 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 22:57:17 +00:00
Yonik Seeley
5cbfe40c58
add replacement notes for deprecated methods
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483700 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 22:21:55 +00:00
Yonik Seeley
87d5f87806
CSVParser javadoc cleanup (and remove ref to M$ [sic])
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483683 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 21:50:05 +00:00
Yonik Seeley
68e75ee16d
[CSV] deprecated setStrategy, made most private members final
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483576 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 18:05:00 +00:00
Yonik Seeley
a05816d2e7
[CSV] little javadoc cleanups
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483548 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 17:02:19 +00:00
Yonik Seeley
4ed7299b5e
deprecate some CSVParser constructors
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@483528 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 16:32:37 +00:00
Yonik Seeley
ddda2af066
CSVParser constructor with CSVStrategy: SANDBOX-180
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@477503 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 04:44:08 +00:00
Yonik Seeley
b73040f2bc
make CSVStrategy cloneable and serializable: SANDBOX-181
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@477490 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 03:47:02 +00:00
Henri Yandell
2b7bae9f17
Fixing copyright message
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@437546 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 05:57:49 +00:00
Henri Yandell
8d8502ae8c
Switching to new copyright style: http://www.apache.org/legal/src-headers.html
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@437538 13f79535-47bb-0310-9956-ffa450edef68
2006-08-28 05:34:07 +00:00
Henri Yandell
7d8a02905b
No such thing as released javadocs for a sandbox project; and not building page
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430643 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 03:43:04 +00:00
Henri Yandell
37fe2dde44
Removed the rhs links - these are taken care of in the global site stuff
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430637 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 03:12:34 +00:00
Henri Yandell
d8be887193
Moved from an m1 site to an m2 site
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430634 13f79535-47bb-0310-9956-ffa450edef68
2006-08-11 02:48:36 +00:00
Ortwin Glueck
a0f10ed549
added test suites
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430326 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 09:06:19 +00:00
Ortwin Glueck
adaccbcef4
This patch reduces the amount of intermediate garbage significantly.
...
PR: SANDBOX-166
Contributed by: Ortwin Glück
Reviewed by: Henri Yandell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430324 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 09:02:13 +00:00
Ortwin Glueck
d7e94581d7
This patch reduces the amount of intermediate garbage significantly.
...
PR: SANDBOX-166
Contributed by: Ortwin Glück
Reviewed by: Henri Yandell
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430322 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 09:01:18 +00:00
Henri Yandell
0558a35d91
Optimisation from Ortwin Glueck (#SANDBOX-166) in which empty String arrays are replaced with constants.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@430240 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 04:49:05 +00:00
Henri Yandell
637ef14ee4
Adding a minor optimisation as detailed in #SANDBOX-160 by Daniel Gredler.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@427471 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 06:57:17 +00:00
Henri Yandell
ce34196827
Fixing bug reported byu Markus Rogg in #SANDBOX-153. Whitespace was being treated specially when it was not the delimiter. Unit test and patch applied.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@427470 13f79535-47bb-0310-9956-ffa450edef68
2006-08-01 06:50:08 +00:00
Henri Yandell
98e075b22d
@return is meaningless in a constructor
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@419184 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 06:45:05 +00:00
Henri Yandell
561adc6440
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@419183 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 06:43:18 +00:00
Henri Yandell
f6f9fc1d48
Pulled some static methods into a CSVUtils class, switched CSVPrinter to use a CSVStrategy though it doesn't use it fully yet, added a COMMENTS_DISABLED constant instead of relying on (char) 0.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@415323 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 13:01:39 +00:00
Henri Yandell
45d972fe5b
Moved back to JDK 1.3 compatibility.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@412968 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 07:57:54 +00:00
Henri Yandell
5c74297ee0
Setting up a maven-1 site; m2 isn't working for me
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@412967 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 07:42:48 +00:00
Henri Yandell
eac54a225b
Extracted the strategy concept into its own class
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@399987 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 06:24:34 +00:00
Henri Yandell
f047581f95
Javadoc improvements, more unit tests, change of API to a chain style, some bugfixes
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@383468 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 05:11:21 +00:00
Henri Yandell
58793330f1
Minor documentation improvement
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@383467 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 05:09:53 +00:00
Henri Yandell
215efb82b5
Added a maven2 site
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@382649 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 04:27:02 +00:00
Martin van den Bemt
389fcd218e
Testcases for CSVWriter.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@373943 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 23:37:16 +00:00
Martin van den Bemt
366598c77c
Start with CSVWriter.. (it's kind of working already..)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk@373942 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 23:36:48 +00:00
Henri Yandell
bb433064d1
fixed package/license in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/csv@357306 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 05:53:45 +00:00
Henri Yandell
0e1f0adb71
repackaging in the source, switched licence to asf licence
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/csv@357302 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 05:46:12 +00:00
Henri Yandell
4b5faabefd
repackaging - directory change
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/csv@357301 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 05:42:59 +00:00
Henri Yandell
e23e79e0ce
import of csv parser code, as donated by netcetera [code grant recorded]
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/csv@357300 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 05:41:27 +00:00