You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Kristian Rosenvold (JIRA)" <ji...@apache.org> on 2014/10/27 09:49:34 UTC

[jira] [Created] (IO-459) Add WindowsLineEndingInputStream and UnixLineEndingInputStream

Kristian Rosenvold created IO-459:
-------------------------------------

             Summary: Add WindowsLineEndingInputStream and UnixLineEndingInputStream
                 Key: IO-459
                 URL: https://issues.apache.org/jira/browse/IO-459
             Project: Commons IO
          Issue Type: New Feature
          Components: Streams/Writers
            Reporter: Kristian Rosenvold


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





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)