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

Add WindowsLineEndingInputStream and UnixLineEndingInputStream

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5
    • Streams/Writers
    • None

    Description

      The enclosed patch adds these files and test cases.

      There is a use-case for writing these both as InputStream and OutputStream.

      Without any concerns of existing use-cases, the OutputStream is probably the most "correct" implementation. These two classes originate from apache maven, and existing layering made it much more practical to do this filtering on the "Input" side of the stream pipeline, which mandates an inputstream based solution. There should be no technical difference between these, and it should be trivial to adapt these to output streams. This patch only contains InputStream versions

      Attachments

        1. IO-459.patch
          11 kB
          Kristian Rosenvold

        Activity

          People

            olamy Olivier Lamy
            krosenvold Kristian Rosenvold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: