public class CompressionUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
gzipCompress(java.lang.String string)
Gzip compress a string
|
static java.lang.String |
gzipDecompress(byte[] bytes)
unzip some gzip compressed data
|
public static byte[] gzipCompress(java.lang.String string)
string - the string to compresspublic static java.lang.String gzipDecompress(byte[] bytes)
bytes - the data to uncompress