public class Compressor extends Object
| Constructor and Description |
|---|
Compressor() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
deflate(byte[] data)
Static method compresses the supplied byte array.
|
static byte[] |
inflate(byte[] data)
Static method decompresses the supplied byte array.
|
public static byte[] inflate(byte[] data)
data - compressed representation of the desired datapublic static byte[] deflate(byte[] data)
data - byte[] containing the data to be compressed