Extracting ZIP file from InputStream

  • Mireia

    Mireia - 2013-12-19

    Hi, I tried to extract a zip File from an InputStream, trying to use the code I found here. But I get an error message. Has somebody experience with the code of Goober5000 from 2.3.10 ?

    I implemented:

    public class CreateInputStreamSource implements InputStreamSource


    public InputStream recycleInputStream(InputStream oldInputStream) throws IOException{

    but I got the errormessage:

    net.sf.sevenzipjbinding.SevenZipException: HRESULT: 0x1 (FALSE). Archive file (format: Zip) can't be opened

    My code works, when I read the zipfile from a RandomAccessFileInStream, so the archive should be ok. Thanks in advance


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks