[ 
https://issues.apache.org/jira/browse/CSV-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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 parameters.
                
> Not possible to create a CSVFormat from scratch
> -----------------------------------------------
>
>                 Key: CSV-88
>                 URL: https://issues.apache.org/jira/browse/CSV-88
>             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: http://www.atlassian.com/software/jira

Reply via email to