[
https://issues.apache.org/jira/browse/IO-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niall Pemberton resolved IO-156.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0
Assignee: Niall Pemberton
One downside though is that these methods currently produce consistent file
names with the same separator - if you had a file name with mixed separators it
would have inconsistent results. I have added flavours of the two methods where
you can specify unix or windows style separators using a boolean parameter:
public static String normalize(String filename, boolean unixSeparator)
public static String normalizeNoEndSeparator(String filename, boolean
unixSeparator)
http://svn.apache.org/viewvc?view=rev&revision=723186
> add methods normalizePreserveSepartor and
> normalizePreserverSepartorNoEndseparator
> ----------------------------------------------------------------------------------
>
> Key: IO-156
> URL: https://issues.apache.org/jira/browse/IO-156
> Project: Commons IO
> Issue Type: New Feature
> Affects Versions: 1.3.2
> Reporter: Michael
> Assignee: Niall Pemberton
> Priority: Minor
> Fix For: 2.0
>
>
> Those are the same methods as normalize(String filename) and
> normalizeNoEndSeparator(String filename) but without converting path
> separator to the platform.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.