I have created a backup system which I sell called EasyBackup for servers. The system works great, and it uses zipped files. Someone requested that I add a feature to add a password to the zipped folder, but I could not find a way to do that with Java's zip utility classes, so I decided to use Zip4j.
Zip4j adds passwords perfectly, but when I add a folder, it adds all files and subfolders.
I have an option for users to exempt files and folders, so I need a way to retain this ability.
How can I exempt files and folders with Zip4J. Is there a way to add folders and files manually so the children are not added?
If not, would modifying the sourcecode for Zip4J be practical? Is there another library that does this already?