Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java API to attach a password for the generated zip file  RSS feed

 
Radhika R Bansal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

1) Using java API we need to zip multiple files and create a .zip file.
2) Using java API attach a password for the generated zip file.

We are able to generate the zip file using java.util API but couldn't find a way to attach password.
Can someone pls help me with this. Thanks in advance
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no support for this in standard class libraries, but a quick Google search finds this article, which suggests two ways how to do it.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!