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

Add WindowsLineEndingInputStream and UnixLineEndingInputStream

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: Streams/Writers
    • Labels:
      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

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              krosenvold Kristian Rosenvold
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: