public final class GZIPUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
compress(byte[] dataToCompress)
Compress the data with gzip.
|
static byte[] |
uncompress(byte[] contentBytes)
Uncompress the data with gzip.
|
public static byte[] compress(byte[] dataToCompress)
throws java.io.IOException
dataToCompress - Data to compress.java.io.IOException - Exception with the error.public static byte[] uncompress(byte[] contentBytes)
throws java.io.IOException
contentBytes - Data to uncompress.java.io.IOException - Exception with the error.