| Modifier and Type | Class and Description |
|---|---|
| public static enum | Compression.
Enum identifying if this object will be used to compress or uncompress data. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | init(Compression.
compression type type,compression level level)Initialize this object to either compress or uncompress data. |
| public void | uncompress(Buffer
the buffer containing the data to uncompress from, Buffer the buffer receiving the uncompressed data to)Uncompress the data in a buffer into another buffer. |
| compress | back to summary |
|---|---|
| public void compress(Buffer buffer) throws IOException Compress the given buffer in place.
| |
| init | back to summary |
|---|---|
| public void init(Compression. Initialize this object to either compress or uncompress data. This method must be called prior to any calls to
either
| |
| uncompress | back to summary |
|---|---|
| public void uncompress(Buffer from, Buffer to) throws IOException Uncompress the data in a buffer into another buffer.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Compression. | |
| public static final Compression. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Compression. | |
| public static Compression. |
| Deflater | back to summary |
|---|---|
| public static final Compression. | |
| Inflater | back to summary |
|---|---|
| public static final Compression. | |
| Type | back to summary |
|---|---|
| private Type() | |
| valueOf | back to summary |
|---|---|
| public static Compression. | |
| values | back to summary |
|---|---|
| public static Compression. | |