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