Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / October 2004

Tip: Looking for answers? Try searching our database.

J# Zip Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BuddyWork - 04 Oct 2004 07:43 GMT
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
or Zip?
Ianier Munoz - 09 Oct 2004 06:14 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.