← ZIO Streams Compress docs

Zip4JArchiver

zio.compress.Zip4JArchiver
See theZip4JArchiver companion class
object Zip4JArchiver

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] = ..., zipMethod: ZipMethod = ...): Zip4JArchiver

An Archiver for ZIP, based on the Zip4J library.

An Archiver for ZIP, based on the Zip4J library.

The archive entries require the uncompressed size.

Value parameters

password

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

zipMethod

zip method, either Deflated (the default) or Stored NOTE: when password is Some, the extremely weak standard ZIP encryption is used. Use Zip4JArchiver.encrypted(...) to set another encryption method.

Attributes

Source
Zip4J.scala

Attributes

Source
Zip4J.scala
def encrypted(password: String, encryptionMethod: EncryptionMethod, zipMethod: ZipMethod = ...): Zip4JArchiver

An Archiver for encrypted ZIP, based on the Zip4J library.

An Archiver for encrypted ZIP, based on the Zip4J library.

The archive entries require the uncompressed size.

Value parameters

encryptionMethod

the encryption method

password

password of the ZIP archive

zipMethod

zip method, either Deflated (the default) or Stored

Attributes

Source
Zip4J.scala