is it possible to get a zipentry’s inputstream from a zipinputstream?

figured:

it’s entirely possible, the call to ZipInputStream.getNextEntry() positions the InputStream at the start of the entry and therefore supplying the ZipInputStream is the equivalent of supplying a ZipEntry‘s InputStream.

the ZipInputStream is smart enough to handle the entry’s EOF downstream, or so it seems.

p.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)