UpdateableZipFile testZip = new UpdateableZipFile(new File("test.zip"));
for (int i=0; i<100; i++) {
String name = testFile.getName() + i;
System.out.println("adding " + name);
testZip.update(name, new FileInputStream(testFile));
testZip.sync();
}
testZip.update("test.dat50", new FileInputStream(testFile));
testZip.delete("test.dat1");
testZip.close();
}