You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
Hi,
as far as i can tell there´s currently no way to close all InputStreams returned by
getInputStream()
onZipFile
at 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.ZipFile
class has a close: https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/util/zip/ZipFile.html#close()Thanks!
The text was updated successfully, but these errors were encountered: