Hi,
as far as i can tell there´s currently no way to close all InputStreams returned by getInputStream() on ZipFile at once, each stream needs to be closed individually. A close() on the ZipFile class itself would help to ensure that all input streams are closed and the zip file is 'closed'.
The java.util.ZipFile class has a close: https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/zip/ZipFile.html#close()
Thanks!
Hi,
as far as i can tell there´s currently no way to close all InputStreams returned by
getInputStream()onZipFileat once, each stream needs to be closed individually. Aclose()on the ZipFile class itself would help to ensure that all input streams are closed and the zip file is 'closed'.The
java.util.ZipFileclass has a close: https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/zip/ZipFile.html#close()Thanks!