I\'m stuck with this junit test:
public void test() throws Exception { ByteArrayOutputStream out = new ByteArrayOutputStream(); ZipOutputStream zipOu
You actually have to read the contents of the entry, then entry.getSize() will return the correct size.
entry.getSize()
To read entry use:
byte[] buf = new byte[1024]; int len; while ((len = zipIn.read(buf)) > 0) { // use data; }