Package org.eclipse.rdf4j.common.io
Class GZipUtil
- java.lang.Object
-
- org.eclipse.rdf4j.common.io.GZipUtil
-
public class GZipUtil extends Object
GZip-related utilities.
-
-
Constructor Summary
Constructors Constructor Description GZipUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isGZipStream(InputStream in)
Check if a stream is a GZIP stream, by checking the first bytes of the stream.
-
-
-
Method Detail
-
isGZipStream
public static boolean isGZipStream(InputStream in) throws IOException
Check if a stream is a GZIP stream, by checking the first bytes of the stream.- Parameters:
in
- input stream- Returns:
- true if a stream is a GZIP stream
- Throws:
IOException
-
-