Monday, February 10, 2003 03:05 PM
it looks like you have a vector of byte arrays which all of the files in the zip.
try something like this, warning, this is untested...
while (anEntry != null)
long decompressedSize = anEntry.getSize();
byte uncompressedBuf = new byte[(int)decompressedSize];
//you may be able to add more path info here
FileOutputStream fos = new FileOutputStream( "c:\my\favorite\path\" + anEntry.getName() );
fos.write( uncompressedBuf, 0, uncompressedBuf.length );
anEntry = inputStream.getNextEntry();