commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-330) IOUtils#toBufferedOutputStream/toBufferedWriter to conditionally wrap the output
Date Fri, 17 May 2013 15:25:16 GMT

    [ https://issues.apache.org/jira/browse/IO-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660787#comment-13660787
] 

Sebb commented on IO-330:
-------------------------

URL: http://svn.apache.org/r1483859
Log:
IO-233 IO-330 Add Methods for Buffering Streams/Writers To IOUtils

Modified:
    commons/proper/io/trunk/src/changes/changes.xml
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
    commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsTestCase.java

                
> IOUtils#toBufferedOutputStream/toBufferedWriter to conditionally wrap the output
> --------------------------------------------------------------------------------
>
>                 Key: IO-330
>                 URL: https://issues.apache.org/jira/browse/IO-330
>             Project: Commons IO
>          Issue Type: New Feature
>            Reporter: Sebb
>             Fix For: 2.5
>
>
> Might be worth providing output analogues of IOUtils#toBufferedReader().
> i.e., if the OutputStream or Writer is not buffered, then wrap it in the corresponding
Buffered... class.
> Unfortunately, the input method name toBufferedInputStream is already in use, and does
not perform the equivalent conversion of an InputStream.
> The new methods could use a different prefix, e.g.
> asBufferedOutputStream, asBufferedWriter.
> Could then create the equivalent input methods and deprecate toBufferedReader in favour
of asBufferedReader.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message