Skip to content

[Feature Request] close() on ZipFile to close previously returned InputStream´s #327

@nils91

Description

@nils91

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!

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions