Class GZipUtil

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

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

    • GZipUtil Link icon

      public GZipUtil()
  • Method Details Link icon

    • isGZipStream Link icon

      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