AppleArchive

AppleArchive class

This class represents an Apple Archive (.aar) file. Use it to compose Apple Archive files.

The AppleArchive type exposes the following members:

Constructors

NameDescription
AppleArchive(new_entry_settings)Initializes a new instance of the AppleArchive class with settings used for composed entries.
AppleArchive(source_stream, load_options)Initializes a new instance of the AppleArchive class and composes an entry list can be extracted from the archive.
AppleArchive(path, load_options)Initializes a new instance of the AppleArchive class and composes an entry list can be extracted from the archive.

Properties

NameDescription
entriesGets entries constituting the archive.
is_solidGets a value indicating whether the archive uses solid compression.
In solid mode, all entry data is compressed as a single stream and
individual entry extraction is not available. Use
new_entry_settingsGets settings used for newly composed entries.
file_entriesGets entries of IArchiveFileEntry type constituting the archive.
formatGets the archive format.

Methods

NameDescription
create_entry(name, path, open_immediately)Creates a single entry within the archive.
create_entry(name, source)Creates a single entry within the archive.
save(output)Saves archive to the stream provided.
save(destination_file_name)Saves archive to a destination file provided.
extract_to_directory(destination_directory)Extracts all the files in the archive to the directory provided.

See Also