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 |