I have tried Compression & Decompression of a file using GZIP & ZIP in java.It worked well. Now I need to do it for a directory. I came to know that ZIP is useful for compressing more than one file. I dont know how to proceed. Please tell me how I can Compress and decompress a directory which is having more then one file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.