Library enhancement proposal for copying data from/to Reader/Writer InputStream/OutputStream
stevenschlansker at gmail.com
Thu Nov 13 19:37:26 UTC 2014
On Nov 13, 2014, at 11:31 AM, Patrick Reinhart <patrick at reini.net> wrote:
> Hi there,
> In the followup of a BOF with Stephen Colebourne with his ideas of small library changes that may could get in JDK9. As of the fact that in the codebase of my company there are several locations where we copy from/to IO stream over and over again using either external libraries or do it by ourselves, I suggested to have some support for easy coping data between Input-/OutputStream or Reader/Writer without having to use to external libraries.
> I’m looking forward to your opinions upon this proposal.
+1, in my projects that I have open in Eclipse right now there are no fewer than six different implementations of this - Guava, commons-io, two homegrown that do things slightly differently, and on and on...
Everyone needs to do it and it feels like a great addition.
More information about the adoption-discuss