Package org.eclipse.rdf4j.common.io
Class GZipUtil
- java.lang.Object
-
- org.eclipse.rdf4j.common.io.GZipUtil
-
public class GZipUtil extends java.lang.Object
GZip-related utilities.
-
-
Field Summary
Fields Modifier and Type Field Description private static byte[]
MAGIC_NUMBER
GZIP header magic number bytes, like found in a gzipped files, which are encoded in Intel format (i.e. little endian).
-
Constructor Summary
Constructors Constructor Description GZipUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isGZipStream(java.io.InputStream in)
Check if a stream is a GZIP stream, by checking the first bytes of the stream.
-