[
https://issues.apache.org/jira/browse/LANG-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549774
]
Sebb commented on LANG-374:
---------------------------
I'll leave it to you to decide whether to keep the generalisation or not.
JMeter needed the abilitiy to specifiy a different delimiter, but it also
needed the unescape() method, which was out of scope.
So I ended up adding the relevant escapeDelim() code to JMeter, and wrote an
unescapeDelim() to go with it.
[They're private methods in a single class, so can be replaced with commons
ones later if required].
> 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.