commons-issues mailing list archives

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

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

Niall Pemberton updated LANG-374:
---------------------------------

    Attachment: LANG-374-escapeDelimited.patch

OK I've used your suggestion and changed it to use StringUtils's containsNone() method:

    http://svn.apache.org/viewvc?view=rev&revision=595927

I don't have a need for anything else, but I'm attaching a completely generic solution where
the escape character and characters that need escaping can both be specified


> 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.patch,
StringEscapeUtilsTest.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