Interface Decompressor
Represents a message decompressor.
-
Method Summary
Modifier and TypeMethodDescriptionWraps an existing input stream with a decompressing input stream.Returns the message encoding that this compressor uses.
-
Method Details
-
getMessageEncoding
String getMessageEncoding()Returns the message encoding that this compressor uses.This can be values such as "gzip", "deflate", "snappy", etc.
-
decompress
Wraps an existing input stream with a decompressing input stream.- Parameters:
is
- The input stream of uncompressed data- Returns:
- An input stream that decompresses
- Throws:
IOException
-