Hi again,

Could you try not to post several times the same question? 

Again, if you need timely/professional support, you can subscribe to one of
our support plans (see http://www.noelios.com/services/). Otherwise, thanks
for your patience while the community gets back to you.

Feel free to contribute to the multipart RFE if you want. That would help us
add this feature more quickly to Restlet 1.1.

Best regards,
Jerome 

-----Message d'origine-----
De : news [mailto:[EMAIL PROTECTED] De la part de Surjendu
Envoyé : lundi 5 mai 2008 19:22
À : [email protected]
Objet : How to bundle 2 files in a Zip using EncodeRepresentation?

Anybody has any idea how to bundle 2 files in a Zip using
EncodeRepresentation?

I mean I can create a File by 

FileRepresentation rep = new FileRepresentation(
        "d:\\temp\\test.txt", MediaType.TEXT_ALL, 0);

and then put this in the zip

EncodeRepresentation(Encoding.GZIP, rep);

But I dint see any constructor which takes a list of Representations.
Something
like 
EncodeRepresentation(Encoding encoding, List<wrappedRepresentation>)

In that case how will i bundle all the files in one zip.

Regards
Surjendu


Reply via email to