I want to compress a file into zip, rar and 7z format using java code. Also I want to decompress these files at a specified location. Can anyone please tell me how to compress and decompress files using 7-zip in java?
: to press or squeeze together. : to reduce in size, quantity, or volume as if by squeezing. compress a computer file. intransitive verb. : to undergo compression.
A sponge is one of the best examples that demonstrate the existence of compression force in real life. The sponge has an elastic structure, which is why it is able to regain its original shape as soon as the effect of the externally applied force fades away.
Some common synonyms of compress are condense, constrict, contract, deflate, and shrink.
I have used : sevenzipjbinding.jar sevenzipjbinding-Allplatforms.jar
I am now able to decompress files using these jars.
Try this link for decompression: http://sourceforge.net/projects/sevenzipjbind/forums/forum/757964/topic/3844899
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With