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] Commented: (IO-244) Add method to convert string to a form accaptable by system as a filename
Date Wed, 21 Apr 2010 15:21:50 GMT

    [ 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.


Mime
View raw message