commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LANG-374) Add escaping for CSV columns to StringEscapeUtils
Date Sat, 17 Nov 2007 14:30:43 GMT

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

Sebb updated LANG-374:
----------------------

    Attachment: StringEscapeUtilsTest_v3.patch
                StringEscapeUtils_v3.patch

Updated version of patch.

Includes the 2 new escapeDelimited([Writer,] String , delim, escape) methods.

Also includes private worker methods that use a char array of special characters (i.e. delim,
escape, CR, LF)
These are shared with the escapeCsv() methods

Updated tests.

Note that escapeDelimited() throw IlegalArgumentException if delim == escape


> Add escaping for CSV columns to StringEscapeUtils
> -------------------------------------------------
>
>                 Key: LANG-374
>                 URL: https://issues.apache.org/jira/browse/LANG-374
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>             Fix For: 2.4
>
>         Attachments: Lang-374-escapeCsv-v2.patch, LANG-374-escapeDelimited.patch, StringEscapeUtils_v3.patch,
StringEscapeUtilsTest_v3.patch
>
>
> Add escaping for CSV columns to StringEscapeUtils.
> Further information on CSV columns available here:
>     http://en.wikipedia.org/wiki/Comma-separated_values
>     http://tools.ietf.org/html/rfc4180

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message