Java compression and splitting library - preferrably 7zip
I am looking for a java library which can compress files and directories.
I need the following features -compress -decompress -split archives to multiple files based on a size limit
I would really like the following features as well -encrypt archives -encrypt file names
I would prefer if the solution was a 7zip library but it's not required.
I know there is an lzma Java sdk but i'm not sure if it supports all the features above. I know it doesn't support encryption, but doe开发者_开发知识库s it support splitting archives?
Any library supporting all the features above would be preferred.
Thanks.
How about the Deflater/Inflater classes mentioned in the question "What’s a good compression library for Java?".
I know the current interfaces proposed by Java are Stream-based, not "filename"-based, but according to the following article on Java compression.
TrueZip should be able to do most of what you need
精彩评论