Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-275

org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: Utilities
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cjaspromgos CJ Aspromgos
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: