LzipArchive

LzipArchive class

This class represents a Lzip archive file. Use it to compose or extract Lzip archives.

The LzipArchive type exposes the following members:

Constructors

NameDescription
LzipArchive(settings)Initializes a new instance of the LzipArchive.
LzipArchive(source_stream, options)Initializes a new instance of the LzipArchive class prepared for decompressing.
LzipArchive(path, options)Initializes a new instance of the LzipArchive class prepared for decompressing.

Properties

NameDescription
settingsGets the setting of particular lzip archive.
file_entriesGets entries of IArchiveFileEntry type constituting the archive.
formatGets the archive format.
nameGets name of the entry.
lengthGets the length of the entry in bytes.

Methods

NameDescription
extract(destination)Extracts lzip archive to a stream.
extract(path)Extracts lzip archive to a file by path.
save(output_stream)Saves lzip archive to the stream provided.
save(destination_file_name)Saves lzip archive to destination file provided.
set_source(source)Sets the content to be compressed within the archive.
set_source(path)Sets the content to be compressed within the archive.
extract_to_directory(destination_directory)Extracts content of the archive to the directory provided.

See Also