[ 
https://issues.apache.org/jira/browse/CSV-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236732#comment-13236732
 ] 

Sebb commented on CSV-78:
-------------------------

Two alternatives:

1) provide methods to disable the setting, e.g. withNoEscape(), 
withNoEncapsulator(), withNoCommentStart()

2) provide enable disable methods, e.g. setUseEscape(boolean).

In both cases it would be useful to use separate fields to store the 
enabled/disabled setting.
This would allow the tricky DISABLED char to be dropped.
                
> Use Character instead of char for char fields except delimiter
> --------------------------------------------------------------
>
>                 Key: CSV-78
>                 URL: https://issues.apache.org/jira/browse/CSV-78
>             Project: Commons CSV
>          Issue Type: Improvement
>            Reporter: Sebb
>
> Apart from the delimiter - which must be specified (obviously) - the other 
> char fields are optional.
> At present it's not possible to create a new format from an existing format 
> and remove (say) the encapsulation character.
> If the parameters were changed to Character instead of char, then it would be 
> possible to pass null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to