[
https://issues.apache.org/jira/browse/IO-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238235#comment-13238235
]
Aaron Digulla commented on IO-233:
----------------------------------
It would be worth if, if you'd add the encoding:
{code}
public static BufferedReader buffer(InputStream inputStream, String encoding) {
return new BufferedReader(new InputStreamReader(inputStream, encoding));
}
{code}
which would a nice API together with my issue IO-315: Replace all "String
encoding" parameters with a value type
> Add Methods for Buffering Streams/Writers To IOUtils
> ----------------------------------------------------
>
> Key: IO-233
> URL: https://issues.apache.org/jira/browse/IO-233
> Project: Commons IO
> Issue Type: Improvement
> Components: Streams/Writers
> Affects Versions: 2.0
> Environment: Java 1.4+
> Reporter: Michael Wooten
> Priority: Minor
> Fix For: 3.x
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> I suggest adding utility methods for buffering streams and writers to the
> IOUtils class. The methods would have the following signatures:
> BufferedInputStream buffer(InputStream inputStream)
> BufferedOutputStream buffer(OutputStream outputStream)
> BufferedReader buffer(Reader reader)
> BufferedWriter buffer(Writer writer)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira