1062 Commits

Author SHA1 Message Date
David Warshaw
f368f64fa7 [CSV-224] Some Multi Iterator Parsing Peek Sequences Incorrectly Consume
Elements.
2018-05-18 14:24:50 -06:00
Gary Gregory
33f662b219 Fix compiler warning. 2018-05-18 13:47:37 -06:00
Gary Gregory
5c0d27c0e2 Remove trailing whitespace. 2018-05-18 13:39:49 -06:00
Gary Gregory
c00f4d426e Typo: 'JavaDoc' -> 'Javadoc'. 2018-05-15 12:21:56 -06:00
Gary Gregory
00583b2ad9 Update release for 1.6 to this year. 2018-04-03 17:37:27 -06:00
Gary Gregory
a9daab6992 [CSV-209] Create CSVFormat.ORACLE preset. Also: Fix and complete
documentation for other formats.
2018-04-03 17:37:03 -06:00
Gary Gregory
83cd8088a6 [CSV-223] Inconsistency between Javadoc of CSVFormat DEFAULT EXCEL.
Apply modified patch from Samuel Martin. Closes #26.
2018-04-03 13:45:05 -06:00
Gary Gregory
eede739d18 Slightly better Javadoc. 2018-01-09 10:31:48 -07:00
Gary Gregory
3a2034434c [CSV-220] Add API
org.apache.commons.csv.CSVFormat.withSystemRecordSeparator().
2017-12-11 11:50:31 -07:00
Gary Gregory
34262e8c5e Sort methods. 2017-12-11 11:49:36 -07:00
Gary Gregory
4f58df6d4a Sort methods. 2017-12-11 11:42:09 -07:00
Gary Gregory
8b3de71fd9 [CSV-219] The behavior of quote char using is not similar as Excel does
when the first string contains CJK char(s).
[CSV-172] Don't quote cells just because they have UTF-8 encoded
characters.
2017-12-11 11:16:01 -07:00
Gary Gregory
c6cd6ce8ee Remove trailing white spaces on all lines. 2017-11-01 16:05:40 -06:00
Bruno P. Kinoshita
0051a83dcd Fix Javadocs typos 2017-10-22 00:13:22 +13:00
Gary Gregory
0c216e783c Use final. 2017-10-09 13:43:02 -06:00
Gary Gregory
3c0a73b30f [CSV-217] Add autoFlush option for CsvPrinter. Remove println() in test. 2017-10-09 13:24:47 -06:00
Korolyov Alexei
7e47152791 [CSV-217] Add autoFlush option for CsvPrinter. Applying modified patch
This closes #24.
2017-10-09 13:22:53 -06:00
Gary Gregory
10977ae1b2 Add version 1.6 to changes. 2017-10-09 13:10:23 -06:00
Bruno P. Kinoshita
edb87f3a5e Update CSV 1.5 release date in changes.xml 2017-09-03 17:48:13 +12:00
Bruno P. Kinoshita
f76a135705 Updated site in preparation for 1.5 release 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita
10671384f5 Update change log for release 1.5 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita
07101efb96 Update download page in preparation for 1.5 release 2017-08-27 10:51:00 +12:00
Bruno P. Kinoshita
f7d7d63ee1 Fix last checkstyle error 2017-08-26 19:56:03 +12:00
Bruno P. Kinoshita
87b75e02a3 Fix checkstyle errors by replacing tabs by spaces 2017-08-26 19:55:38 +12:00
Gary Gregory
259812ec0a Better ivar name. 2017-08-18 09:02:19 -06:00
Gary Gregory
431f8236e8 Remove useless and old SVN @version Javadoc tags. 2017-08-15 17:40:42 -06:00
Gary Gregory
299fdccfd6 Fix Checkstyle warnings: Remove trailing white spaces on all lines. 2017-08-11 15:15:27 -06:00
Gary Gregory
aae6f90442 [CSV-214] Adding a placeholder in the Lexer and CSV parser to store the
end-of-line string. I applied the patch in spirit and made changes:
there is no need to use a boolean to track the state of the EOL String
(set vs. not set). I also allowed for CR to be saved as an EOL string
since we allow that already.
2017-08-11 15:05:27 -06:00
Gary Gregory
4d0f226006 Javadoc. 2017-08-10 13:00:42 -07:00
pascalschumacher
fe5cf5c9d9 JiraCsv203Test and JiraCsv213Test: add missing license header 2017-08-01 20:33:40 +02:00
Gary Gregory
2305e0e80c [CSV-213] CSVParser#iterator()#hasNext() fails. 2017-07-20 21:10:09 -07:00
Gary Gregory
0e3b57507f Javadoc nits. 2017-07-20 20:17:58 -07:00
Gary Gregory
99be47eb9b PMD: Unnecessary use of fully qualified name 'Constants.EMPTY' due to
existing static import 'org.apache.commons.csv.Constants.EMPTY'
2017-07-20 19:28:18 -07:00
Gary Gregory
4a8f340239 Javadoc. 2017-07-20 19:26:10 -07:00
TheRealHaui
e41d4841ff Add some tests from PR
https://patch-diff.githubusercontent.com/raw/apache/commons-csv/pull/19.
Closes #19.
2017-07-10 13:27:32 -07:00
Gary Gregory
74afb17d34 [CSV-207]
Provide a CSV Format for printing PostgreSQL CSV and Text formats.
2017-03-27 13:06:53 -07:00
Gary Gregory
48068091e4 [CSV-203]
withNullString value is printed without quotes when QuoteMode.ALL is
specified; add QuoteMode.ALL_NON_NULL. PR #17.
2017-03-27 12:17:03 -07:00
Gary Gregory
9ae4b56c2a [CSV-203]
withNullString value is printed without quotes when QuoteMode.ALL is
specified; add QuoteMode.ALL_NON_NULL. PR #17.
2017-03-27 12:16:34 -07:00
Gary Gregory
09cf3739df Fluent formatting. 2017-03-27 12:13:09 -07:00
Gary Gregory
977824491d [CSV-203]
withNullString value is printed without quotes when QuoteMode.ALL is
specified; add QuoteMode.ALL_NON_NULL. PR #17.
2017-03-27 12:03:53 -07:00
Gary Gregory
a7757849d3 Javadoc fix. 2017-02-01 11:18:57 -08:00
Gary Gregory
f96adf26c1 [CSV-205]
Add convenience API CSVFormat#printer() to print to System.out.
2016-12-22 21:36:33 -08:00
Gary Gregory
9afec3ed39 Rename test package org.apache.commons.csv.bugs to
org.apache.commons.csv.issues.
2016-12-01 13:27:40 -08:00
Gary Gregory
18ed616214 Fix compiler warnings. 2016-12-01 13:27:06 -08:00
Gary Gregory
0ec08e400b Add JiraCsv198Test. 2016-12-01 13:25:02 -08:00
Gary Gregory
1c7a9910be [CSV-201] Do not use RuntimeException in CSVParser.iterator().new
Iterator() {...}.getNextRecord(). Use an IllegalStateException instead
(KISS for now, no need for a custom exception)
2016-10-25 13:59:32 -07:00
Gary Gregory
b2a50d4a3a Remove unused import. 2016-08-23 14:42:26 -07:00
Gary Gregory
b5de127552 Remove unused import. 2016-08-23 14:42:06 -07:00
Gary Gregory
f7328ef02c org.apache.commons.csv.CSVFormat.print(Path, Charset) should use NIO and
not convert the Path to a File.
2016-08-23 14:40:49 -07:00
Gary Gregory
5e9d2240ad CSVParser.parse(Path, Charset, CSVFormat) should use NIO and not convert
the Path to a File.
2016-08-23 14:38:25 -07:00