Package aQute.libg.gzip
Class GZipUtils
java.lang.Object
aQute.libg.gzip.GZipUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.private static int
-
Constructor Details
-
GZipUtils
public GZipUtils()
-
-
Method Details
-
detectCompression
Determines whether the specified stream contains gzipped data, by checking for the GZIP magic number, and returns a stream capable of reading those data.- Throws:
IOException
-
readUnsignedShort
- Throws:
IOException
-