public class GZipUtils extends Object
| Constructor and Description |
|---|
GZipUtils() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
detectCompression(InputStream stream)
Determines whether the specified stream contains gzipped data, by
checking for the GZIP magic number, and returns a stream capable of
reading those data.
|
public static InputStream detectCompression(InputStream stream) throws IOException
IOExceptionCopyright © 2019 aQute SARL. All rights reserved.