public class GZipUtil extends Object
| Constructor and Description |
|---|
GZipUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isGzipped(File file)
Returns true if the specified file is gzipped
|
static boolean |
isGZipped(InputStream is)
Returns true if specified
InputStream is gzipped |
public static boolean isGzipped(File file)
file - file to testpublic static boolean isGZipped(InputStream is)
InputStream is gzippedis - Input stream to testCopyright © 2017. All rights reserved.