There's an example of how to compress strings in my article "Using the Zip
Classes in the J# Class Libraries..."
(http://msdn.microsoft.com/msdnmag/issues/03/06/ZipCompression/default.aspx).
The example is written in C#, but since the API is the same you should be
able to translate it to J# quickly.
Hope it helps,

Signature
Ianier Munoz
http://www.chronotron.com
> Do you know or have any examples on how to get
> ZipOutputStream/ZipInputStream classes so it can
[quoted text clipped - 3 lines]
> compression string and uncompress it either by using GZip
> or Zip?
Lars-Inge T?nnessen [VJ# MVP] - 09 Oct 2004 13:58 GMT
...but there are lots of bugs in the j# zip collection in .net 1.0 and .net
1.1
Eg. look at the dates. Try to zip big files etc...
Regards,
Lars-Inge T?nnessen
Ianier Munoz - 09 Oct 2004 22:59 GMT
> ...but there are lots of bugs in the j# zip collection in .net 1.0 and
> .net 1.1
> Eg. look at the dates. Try to zip big files etc...
When compressing strings these shouldn't be an issue. All the bugs I've seen
are related to file & directory handling rather to the compression
algorithms themselves.

Signature
Ianier Munoz
http://www.chronotron.com
> ...but there are lots of bugs in the j# zip collection in .net 1.0 and
> .net 1.1
> Eg. look at the dates. Try to zip big files etc...
>
> Regards,
> Lars-Inge T?nnessen