Package org.eclipse.rdf4j.common.io
Class GZipUtil
java.lang.Object
org.eclipse.rdf4j.common.io.GZipUtil
GZip-related utilities.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isGZipStream(InputStream in)
Check if a stream is a GZIP stream, by checking the first bytes of the stream.
-
Constructor Details
-
GZipUtil
public GZipUtil()
-
-
Method Details
-
isGZipStream
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
-