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