Class GZipUtil

java.lang.Object
org.eclipse.rdf4j.common.io.GZipUtil

public class GZipUtil extends Object
GZip-related utilities.
  • Constructor Details

    • GZipUtil

      public GZipUtil()
  • Method Details

    • 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