Good idea.

Maybe not to AbstractSerializable because jpg and gif are not likely to be
comressed.

However a helper class would be nice. So that serializers like svg, html,
xml, etc. can take an optional "compression" parameter.

Ivelin


----- Original Message -----
From: "Enke, Michael" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 10:51 AM
Subject: Re: New ZipArchiveSerializer


> Cool.
> But two questions:
> 1) can we configure if zip or gzip?
> 2) wouldn't it be better to add zip/gzip functionallity to
>    AbstractSerializer so that we have it for all?
>    I thing that someone want to have html zipped ...
>
> Michael
>
>
> Sylvain Wallez wrote:
> >
> > Hi team,
> >
> > I just added a new ZipArchiveSerializer that builds a zip file whose
> > entries are fetched from sources (including all of our fancy protocols).
> >
> > I wrote this to generate OpenOffice files, but this can be used to
> > generate any zip-based file format.
> >
> > Enjoy !
> >
> > Sylvain
> > PS : I even wrote a (minimal) documentation ;-)
> >
> > --
> > Sylvain Wallez                                  Anyware Technologies
> > http://www.apache.org/~sylvain           http://www.anyware-tech.com
> > { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to