thrau / jarchivelib

A simple archiving and compression library for Java
https://github.com/thrau/jarchivelib
Apache License 2.0
198 stars 36 forks source link

Wrap ZipFile as ArchiveInputStream #21

Closed thrau closed 10 years ago

thrau commented 10 years ago

From the commons-compress documentation for zip:

This means the ZIP format cannot really be parsed correctly while reading a non-seekable stream, which is what ZipArchiveInputStream is forced to do. [...] If possible, you should always prefer ZipFile over ZipArchiveInputStream. 1

this is necessary for #14 to retrieve file attributes properly