commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-275) org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
Date Fri, 11 Nov 2011 02:08:52 GMT

    [ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148215#comment-13148215
] 

Sebb commented on IO-275:
-------------------------

It would be useful to include a version of IOUtils.contentEquals as well, which could operate
on Reader parameters.
                
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
>                 Key: IO-275
>                 URL: https://issues.apache.org/jira/browse/IO-275
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Utilities
>            Reporter: CJ Aspromgos
>            Assignee: Sebb
>
> FileUtils has a nice member function to compare two files.  It would be nice if the client
had the option to ignore line endings.  This way files (specifically text files) generated
on different platforms (eg windows, unix) would match. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message