Class AppleArchive

AppleArchive class

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

public class AppleArchive : IArchive

Constructors

NameDescription
AppleArchive(AppleArchiveEntrySettings)Initializes a new instance of the AppleArchive class with settings used for composed entries.
AppleArchive(Stream, AppleArchiveLoadOptions)Initializes a new instance of the AppleArchive class and composes an entry list can be extracted from the archive.
AppleArchive(string, AppleArchiveLoadOptions)Initializes a new instance of the AppleArchive class and composes an entry list can be extracted from the archive.

Properties

NameDescription
Entries { get; }Gets entries constituting the archive.
IsSolid { get; }Gets 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 ExtractToDirectory instead.
NewEntrySettings { get; }Gets settings used for newly composed entries.

Methods

NameDescription
CreateEntries(DirectoryInfo, bool)Adds to the archive all files and directories recursively in the directory given.
CreateEntry(string, Stream)Creates a single entry within the archive.
CreateEntry(string, FileInfo, bool)Creates a single entry within the archive.
CreateEntry(string, string, bool)Creates a single entry within the archive.
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
ExtractToDirectory(string)Extracts all the files in the archive to the directory provided.
Save(Stream)Saves archive to the stream provided.
Save(string)Saves archive to a destination file provided.

Remarks

Apple and Apple Archive are trademarks of Apple Inc.

See Also