An Entry to be archived using the DEFLATED method.
A StreamEntry representing a directory (and so having no contents).
More convenient interface for constructing ZipEntry.
An Entry to be archived using the STORED method, which requires knowing the size and crc beforehand.
Zip files are represented by a set of Left(ZipEntry) each followed by any number of Right(data) blocks.
Specialization of ZipEntry that also provides the contents of the file, as used by flatZip.
Create a StreamEntry from a file or directory on disk.
Create a StreamEntry from a file or directory on disk.
Base directory in which to find file, defaulting to the current directory
Path to regular file or directory (within root if relative) and name to use in zip file. If name is a directory the result is an (empty) DirEntry.
Store file uncompressed rather than deflated. While this may be more computationally efficient, it requires reading the whole file twice in order to calculate the checksum, which causes this call to block (and may fail if the file changes before being zipped).
Produce a zip file out of a StreamEntry sequence.
Produce a zip file out of a StreamEntry sequence. Equivalent to zip with StreamEntry.getContents flattened out into the stream.
Produce a zip file out of a Stream sequence.
Produce a zip file out of a Stream sequence. See ZipOutputStream for the meaning of the arguments.