Zipping and unzipping password protected file in Java You can also add the following Maven dependency to download the jars. Ensure that it is added to your application’s class path. You can download the jar zip4j_1.3.2.jar from here. Though Java provides an API () for compressing and decompressing files in zip format but there is no optionįor setting password so you need to use a third party library for creating a password protected zip file. This post shows how to create a password protected zip file in Java and also how to unzip a password protected zip file in Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |