I would like to omit creating File. My DataHandler Object contains zip file with one entry inside. I need to get properly InputStream which could read zipped content.
Actually, my “flow” is as following: DataHandler -> File -> ZipFile -> first ZipEntry.getInputStream().
Is there a way to not create File/ZipFile object?
Solution is:
…and after that
zisis currently set at the beggining of first zip entry.Thanks to @aetheria & @Janoz for
ZipInputStreamhint.