commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-78) Use Character instead of char for char fields except delimiter
Date Thu, 01 Aug 2013 12:55:50 GMT

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

Gary Gregory commented on CSV-78:
---------------------------------

Right now we have:

{code:java}
    public static final CSVFormat MYSQL =
            DEFAULT
            .withDelimiter(TAB)
            .withEscape(BACKSLASH)
            .withIgnoreEmptyLines(false)
            .withQuoteChar(null)
            .withRecordSeparator(LF);
{code}

which looks pretty clear to me, with {{null}} as the quote char. We a have other API that
take both Character and char.

I thought this issue was done... hm...
                
> 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
>             Fix For: 1.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message