Top "Apache-commons-compress" questions

Apache Commons Compress is a compression toolkit that supports several compression and archival formats not included with the Java programming language.

Compress directory to tar.gz with Commons Compress

I'm running into a problem using the commons compress library to create a tar.gz of a directory. I have …

java compression tar apache-commons apache-commons-compress
Read tar.gz in Java with Commons-compression

Ok so I want to read the contents of a tar.gz file (or a xy) but that's the same …

java apache-commons-compress
java.util.zip.ZipException: invalid stored block lengths

I am trying to read a ZipArchiveEntry to String. I have the below code and i run into exception My …

java apache-commons-io apache-commons-compress
apache commons compress using 7zip

i am trying to use the below code that i got from apache commons compress examples webpage to create a …

apache zip compression 7zip apache-commons-compress
Decompressing tar file with Apache Commons Compress

I'm using Apache Commons Compress to create tar archives and decompress them. My problems start with this method: private void …

java apache-commons apache-commons-compress
ZipArchiveInputStream created from InputStream, unable to read the content

Working Code : InputStream is = zipFile.getInputStream(zipArchiveEntry); BufferedReader br = new BufferedReader(new InputStreamReader(zis)); StringBuilder sb = new StringBuilder(); String line; …

java apache apache-commons apache-commons-compress