commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Reopened] (CSV-88) Not possible to create a CSVFormat from scratch
Date Sat, 13 Oct 2012 16:34:02 GMT


Sebb reopened CSV-88:

It's still not all that easy to create a simple CSV format with only a delimiter, which was
the intent of this JIRA.

I think there needs to be a ctor of the form

public CSVFormat(char delimiter)

I'm not sure it makes sense to allow a Character delimiter to be null either.

Nor am I happy with the new multiple-parameter ctor; too many params with the same type. Dropping
it would force the use of the .withXXX methods, but they are much clearer than using positional
> Not possible to create a CSVFormat from scratch
> -----------------------------------------------
>                 Key: CSV-88
>                 URL:
>             Project: Commons CSV
>          Issue Type: Bug
>            Reporter: Sebb
>             Fix For: 1.0
> It's not possible to create a CSVFormat except by modifying an existing format.
> Could either make the PRISTINE format public, or provide a constructor with a single
parameter (the delimiter).
> Could provide a no-args ctor instead, but there seems little point in that.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message