public class CompressionHandler extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_READAHEAD_BUFFER |
| Constructor and Description |
|---|
CompressionHandler() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
gunzip(byte[] data) |
static byte[] |
gzip(byte[] data) |
static void |
main(String[] args) |
static byte[] |
readUntilEOF(InputStream in) |
public static byte[] gunzip(byte[] data)
throws IOException
IOExceptionpublic static byte[] gzip(byte[] data)
throws IOException
IOExceptionpublic static byte[] readUntilEOF(InputStream in) throws IOException
IOExceptionpublic static void main(String[] args)
args - Copyright © 2013 jwall.org. All Rights Reserved.