public class CompressedByteSource extends ByteSource
A Guava byte source that decompresses data from an underlying source.
| Constructor and Description |
|---|
CompressedByteSource(ByteSource inner,
String comp)
Construct a compressed byte source.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
openStream() |
asCharSource, concat, concat, concat, contentEquals, copyTo, copyTo, empty, hash, isEmpty, openBufferedStream, read, read, size, sizeIfKnown, slice, wrappublic CompressedByteSource(ByteSource inner, String comp)
Construct a compressed byte source.
inner - The underlying byte source.comp - The compression name.CompressorStreamFactorypublic InputStream openStream() throws IOException
openStream in class ByteSourceIOException