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

Add WindowsLineEndingInputStream and UnixLineEndingInputStream

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment