I’m trying to find settings for compression level in Apache Commons Compress lib for tar and gzip archive types.
Could you please tell is it supported by the library? If yes, how can I configure it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t.
First, tar does not compress at all; it’s simply an archive format.
Second, gzip uses a single compression type, deflate. Compression schemes that allow “levels” uses those levels to select between algorithms (or, in the case of lossy compression, how much information to discard).