← ZIO Streams Compress docs

Zip4JUnarchiver

zio.compress.Zip4JUnarchiver
See theZip4JUnarchiver companion class

Attributes

Companion
class
Source
Zip4J.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(password: Option[String] = ..., chunkSize: Int = ...): Zip4JUnarchiver

An Unarchiver for ZIP, based on the Zip4J library.

An Unarchiver for ZIP, based on the Zip4J library.

The archive entries might have the uncompressed size.

Value parameters

chunkSize

chunkSize of the archive entry content streams. Defaults to 64KiB.

password

password of the ZIP archive, or None if the archive is not password protected

Attributes

Source
Zip4J.scala
def list: ZPipeline[Any, Throwable, Byte, ArchiveEntry[Option, LocalFileHeader]]

Attributes

Source
Zip4J.scala
def unarchive: ZPipeline[Any, Throwable, Byte, (ArchiveEntry[Option, LocalFileHeader], ZStream[Any, IOException, Byte])]

See apply and Unarchiver.unarchive.

⚠️Note: the entry's content must be fully read before the next archive entry is emitted. See the project's README for the consequences, tips and workarounds.

Attributes

Source
Zip4J.scala