Groups | Blog | Home
all groups > vj# > october 2004 >

vj# : J# Zip Question


BuddyWork
10/3/2004 11:43:21 PM
Do you know or have any examples on how to get
ZipOutputStream/ZipInputStream classes so it can
compress/uncompress without writing to a file, I
basically want to pass in a string so it gets compressed
by either using GZip or Zip, then I want to pass in the
compression string and uncompress it either by using GZip
Ianier Munoz
10/9/2004 7:14:29 AM
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,
--
Ianier Munoz
http://www.chronotron.com


[quoted text, click to view]

Lars-Inge Tønnessen [VJ# MVP]
10/9/2004 2:58:27 PM
....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
10/9/2004 11:59:32 PM
[quoted text, click to view]

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.
--
Ianier Munoz
http://www.chronotron.com


"Lars-Inge Tønnessen [VJ# MVP]" <http://emailme.larsinge.com> wrote in
message news:eQVBr$frEHA.2136@TK2MSFTNGP14.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button