You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Laat, Harm de" <Ha...@essenttrading.com> on 2004/08/05 09:47:08 UTC

commons compress question

Hi all,

Because of a bug in the zip implementations in the JDK I would like to use
Jakarta Commons Compress for unzipping. (Bug:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4415733).

I pulled compress out of the CVS tree and created a jar. I found some test
files in the CVS source. But I don't see a simple zip / unzip example there.


Is there something like that available? 

Many thanks,


Harm de Laat
Software Engineer 
TAB - Technisch Applicatie Beheer JAVA
SMS - Systems Management Support 
Information Management Essent Energie - Shared Services

Personal E-mail	: <ma...@essenttrading.com>
Group E-Mail    	: <ma...@essenttrading.com>
Intranet		: http://ShS-COMBO.essent.nl
Office          	: Statenlaan 33 - 5223 LA - 's-Hertogenbosch - Room
3.11 
P.O. Box        	: 689 - 5201 AR - 's-Hertogenbosch 
Mobile          	: +31 (0)6 5 471 3322 
External	: +31-(0)73-8531611
Group nr.	: +31-(0)73-8531660
Group mobile	: +31-(0)73-8531365
Internal		: 31611



---- 

This message is confidential and may be privileged. Any review,
retransmission, dissemination or other use of, or taking any action with
reference to this information by persons other than the intended recipient
is prohibited. If you received this message in error, please notify the
sender by reply e-mail and delete this message from all computers. Please
note that e-mails are susceptible to change. The sender will not accept
liability for the improper or incomplete transmission of the information
contained in this message.

Re: commons compress question

Posted by Craig McClanahan <cr...@gmail.com>.
On Fri, 6 Aug 2004 19:24:37 +0100, Stephen Colebourne
<sc...@btopenworld.com> wrote:
> ----- Original Message -----
> From: "Laat, Harm de" <Ha...@essenttrading.com>
> > I pulled compress out of the CVS tree and created a jar. I found some test
> > files in the CVS source. But I don't see a simple zip / unzip example
> there.
> >
> >
> > Is there something like that available?
> 
> commons compress has a current status of classes unreleased and without
> community. AFAIN, there are no examples available.
> 
> Stephen
> 

Tomcat includes an example Filter that does on the fly compression if
the client indicates that it supports decompression, and the response
is over a (configurable) size minimum.  See the sources in
"${tomcat.home}/webapps/servlet-examples/WEB-INF/classes/compressionFilters"

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: commons compress question

Posted by Stephen Colebourne <sc...@btopenworld.com>.
----- Original Message -----
From: "Laat, Harm de" <Ha...@essenttrading.com>
> I pulled compress out of the CVS tree and created a jar. I found some test
> files in the CVS source. But I don't see a simple zip / unzip example
there.
>
>
> Is there something like that available?

commons compress has a current status of classes unreleased and without
community. AFAIN, there are no examples available.

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: commons compress question

Posted by Carfield Yim <ca...@carfield.com.hk>.
May be ant api can help you:
http://www.cs.bris.ac.uk/Teaching/Resources/General/ant/docs/manual/api/org/apache/tools/ant/taskdefs/Zip.html

                         ''~``
                        ( o o )
+------------------.oooO--(_)--Oooo.------------------+
We are limited, not by our abilities, but by our vision.                                               
|                                                     |
|           http://www.carfield.com.hk                |
|                    .oooO                            |
|                    (   )   Oooo.                    |
+---------------------\ (----(   )--------------------+
                       \_)    ) /
                             (_/   

On Thu, 5 Aug 2004, Laat, Harm de wrote:

> Hi all,
> 
> Because of a bug in the zip implementations in the JDK I would like to use
> Jakarta Commons Compress for unzipping. (Bug:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4415733).
> 
> I pulled compress out of the CVS tree and created a jar. I found some test
> files in the CVS source. But I don't see a simple zip / unzip example there.
> 
> 
> Is there something like that available? 
> 
> Many thanks,
> 
> 
> Harm de Laat
> Software Engineer 
> TAB - Technisch Applicatie Beheer JAVA
> SMS - Systems Management Support 
> Information Management Essent Energie - Shared Services
> 
> Personal E-mail	: <ma...@essenttrading.com>
> Group E-Mail    	: <ma...@essenttrading.com>
> Intranet		: http://ShS-COMBO.essent.nl
> Office          	: Statenlaan 33 - 5223 LA - 's-Hertogenbosch - Room
> 3.11 
> P.O. Box        	: 689 - 5201 AR - 's-Hertogenbosch 
> Mobile          	: +31 (0)6 5 471 3322 
> External	: +31-(0)73-8531611
> Group nr.	: +31-(0)73-8531660
> Group mobile	: +31-(0)73-8531365
> Internal		: 31611
> 
> 
> 
> ---- 
> 
> This message is confidential and may be privileged. Any review,
> retransmission, dissemination or other use of, or taking any action with
> reference to this information by persons other than the intended recipient
> is prohibited. If you received this message in error, please notify the
> sender by reply e-mail and delete this message from all computers. Please
> note that e-mails are susceptible to change. The sender will not accept
> liability for the improper or incomplete transmission of the information
> contained in this message.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org