|
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
Deflate | Not to be used by applications. |
JZlib | This static class holds all the constants used by the compression and decompression algorithms. |
ZInputStream | An output stream wrapper around a ZStream . |
ZOutputStream | An output stream wrapper around a ZStream . |
ZStream | The core compression class: A pair of buffers with some metadata for compression or decompression, and the necessary compression/decompression methods. |
Exception Summary | |
---|---|
ZStreamException | Will be thrown by ZInputStream and ZOutputStream
if something did go wrong during compressing or decompressing. |
JZlib: a port of zlib to Java.
This package implements the deflate compressed data format described in RFC 1951 and the zlib compressed data format described in RFC 1950 (which is just a slim wrapper around the deflate format).
To use this package, you will normally use a
ZStream
, or the stream wrappers.
ZStream
provides an API very like
the original zlib API, thus you can use this if you are comfortable
with this, or need precise control over the individual packets and
the flushing behaviour.ZInputStream
and
ZOutputStream
instead use the common
InputStream
/OutputStream
API, and can be used wherever an InputStream or OutputStream
is expected.Following is some general information from the home page.
JZlib is a re-implementation of
zlib
in pure Java.
The first and final aim for hacking this stuff is
to add the packet compression support to pure Java SSH systems.
The zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library for use on virtually any computer hardware and operating system. The zlib was written by Jean-loup Gailly (compression) and Mark Adler (decompression).
You can get the newest versions of JZlib on the JZlib home page.
JZlib has been developed by ymnk, but he has just re-implemented zlib in pure Java (this stuff was just required to improve the service on WiredX.net). So, all credit should go to authors Jean-loup Gailly and Mark Adler and contributors of zlib.
|
|||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |