maidh91 / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Additions to ByteStreams #425

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
These methods look like candidates for ByteStreams (with obvious 
implementations):

OutputSupplier<java.util.zip.DeflaterOutputStream> deflate(OutputSupplier<? 
extends OutputStream> source);

InputSupplier<java.util.zip.InflaterInputStream> inflate(InputSupplier<? 
extends InputStream> source);

InputStreamSupplier<InputStream> newInputStreamSupplier(javax.jnlp.FileContents 
file);

OutputStreamSupplier<OutputStream> 
newOutputStreamSupplier(javax.jnlp.FileContents file);

Original issue reported on code.google.com by fin...@gmail.com on 18 Sep 2010 at 4:18

GoogleCodeExporter commented 9 years ago
Sorry that should have been InputSupplier<InputStream> and 
OutputSupplier<OutputStream>

Original comment by fin...@gmail.com on 19 Sep 2010 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by fry@google.com on 5 Apr 2011 at 8:30

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 13 Jul 2011 at 6:18

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 18 Jul 2011 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by fry@google.com on 10 Dec 2011 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by fry@google.com on 16 Feb 2012 at 7:17

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 30 May 2012 at 7:43

GoogleCodeExporter commented 9 years ago

Original comment by kevinb@google.com on 22 Jun 2012 at 6:16

GoogleCodeExporter commented 9 years ago
I suggest a more general FilterInputStreamSupplier in Issue 1043 which would 
cover the first case.

Original comment by ddlat...@gmail.com on 26 Jun 2012 at 7:01

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:18

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:09