Overview
Features
Download
Documentation
Community
Add-Ons & Services

dealing with compressed archives in poco

Please post support and help requests here.

dealing with compressed archives in poco

Postby argoneus » 19 Jun 2007, 22:23

does Poco provide any facilities for creating compressed archives (.zip, .gz, etc.) and extracting files from existing archives?
argoneus
 
Posts: 12
Joined: 19 Oct 2006, 19:03

Re: dealing with compressed archives in poco

Postby alex » 19 Jun 2007, 23:36

> does Poco provide any facilities for creating compressed archives (.zip, .gz, etc.) and extracting files from existing archives?

Yes, Foundation::Deflating/InflatingStream.

Alex
alex
 
Posts: 1143
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: dealing with compressed archives in poco

Postby guenter » 20 Jun 2007, 16:46

We have a very basic library for handling Zip archives (which is built on top of the zlib support in Foundation). For documentation, please see http://www.appinf.com/docs/poco/
We currently have no plans to license this separately, as its mainly intended for use by the OSP (Open Service Platform), which uses Zip files as file format. Also, it does not support all specified Zip compression algorithms, so it's in no way meant as an universal Zip package. If you're interested, mail me at guenter (at) appinf (dot) com.

Another option would be to hack up your own file format, using the zlib classes for compression and the MIME multipart stuff in Net to combine multiple files into some kind of archive (create a MultipartWriter and connect it to a DeflatingOutputStream).
guenter
 
Posts: 1153
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron