LhaArchive

LhaArchive class

This class represents LHA (.lzh) archive file.

The LhaArchive type exposes the following members:

Constructors

NameDescription
LhaArchive(source_stream)Initializes a new instance of the LhaArchive class and composes entries list can be extracted from the archive.
LhaArchive(path)Initializes a new instance of the LhaArchive class and composes entries list can be extracted from the archive.

Properties

NameDescription
entriesGets file entries of LhaArchiveEntry type constituting the archive.
directoriesGets directory entries of LhaDirectoryEntry type constituting the archive.
file_entriesGets entries of IArchiveFileEntry type constituting the archive.

Methods

NameDescription
extract_to_directory(destination_directory)Extracts all the files and directories in the archive to the directory provided.

See Also