|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.util.ZLibTools
public final class ZLibTools
This class provides some utility methods for ZLib compression.
Constructor Summary | |
---|---|
ZLibTools()
|
Method Summary | |
---|---|
static byte[] |
compress(byte[] a_data)
Compresses the specified data with ZLib in the best compression mode. |
static byte[] |
decompress(byte[] a_data)
Decompresses the specified data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZLibTools()
Method Detail |
---|
public static byte[] compress(byte[] a_data)
a_data
- The data to compress.
public static byte[] decompress(byte[] a_data)
a_data
- The ZLib compressed data (whole block, not only parts).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |