You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2010/04/21 17:21:50 UTC
[jira] Commented: (IO-244) Add method to convert string to a form
accaptable by system as a filename
[ https://issues.apache.org/jira/browse/IO-244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859392#action_12859392 ]
Niall Pemberton commented on IO-244:
------------------------------------
Its not clear to me how your method would work - also why not just use StringUtils.replaceEach() from Commons Lang:
http://commons.apache.org/lang/api-release/org/apache/commons/lang/StringUtils.html#replaceEach(java.lang.String, java.lang.String[], java.lang.String[])
> Add method to convert string to a form accaptable by system as a filename
> -------------------------------------------------------------------------
>
> Key: IO-244
> URL: https://issues.apache.org/jira/browse/IO-244
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Affects Versions: 1.4
> Reporter: Alexander Prishchepov
> Priority: Minor
>
> That probably would be useful to have a method like this:
> String FilenameUtils.getSystemAccaptableFileName(String name, String substitute)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.