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 and Description
    `GZipUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `isGZipStream(InputStream in)` Check if a stream is a GZIP stream, by checking the first bytes of the stream.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GZipUtil

          public GZipUtil()

  - ### 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`

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.