On Fri, Apr 5, 2013 at 5:42 PM, Daniel Gredler
<dgred...@dhlglobalmail.com>wrote:

> Hi guys,
>
>
>
> I just went through an exercise where I was experimenting with the
> current Commons CSV snapshot, to see how it might fit into some existing
> code where we build CSV files manually. All of the code involved
> creating CSV files, not reading them. Some thoughts:
>
>
>
> - It's very nice that CSVPrinter.print(Object) now takes an Object
> instead of a String.
>
> - The javadoc for CSVPrinter.print(Object) seems to correspond to the
> old version of the method ("Prints the string as the next value on the
> line").
>
> - Using CSVPrinter to build CSV content in-memory is a little annoying,
> because you have to catch IOExceptions that you know will never be
> thrown; an earlier version of the library didn't throw them.
>
> - Calling CSVPrinter.print(null) prints the text "null" in the CSV file;
> this seems wrong to me (I expected empty values), but maybe there are
> use cases where "null" is correct?
>

Please check with the latest code from trunk.

Gary


>
> - I hope you guys get a non-snapshot release out soon! ;-)
>
>
>
> Take care,
>
>
>
> Daniel
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to