Class Bzip2Archive
Contents
[
Hide
]Bzip2Archive class
This class represents bzip2 archive file. Use it to compose or extract bzip2 archives.
public class Bzip2Archive : IArchive, IArchiveFileEntry
Constructors
Name | Description |
---|---|
Bzip2Archive() | Initializes a new instance of the Bzip2Archive class prepared for compressing. |
Bzip2Archive(Stream, Bzip2LoadOptions) | Initializes a new instance of the Bzip2Archive class prepared for decompressing. |
Bzip2Archive(string, Bzip2LoadOptions) | Initializes a new instance of the Bzip2Archive class prepared for decompressing. |
Methods
Name | Description |
---|---|
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Extract(Stream) | Extracts the archive to the stream provided. |
Extract(string) | Extracts the archive to the file by path. |
ExtractToDirectory(string) | Extracts content of the archive to the directory provided. |
Open() | Opens the archive for extraction and provides a stream with archive content. |
Save(Stream, Bzip2SaveOptions) | Saves archive to the stream provided. |
Save(string, Bzip2SaveOptions) | Saves archive to destination file provided. |
SetSource(FileInfo) | Sets the content to be compressed within the archive. |
SetSource(Stream) | Sets the content to be compressed within the archive. |
SetSource(string) | Sets the content to be compressed within the archive. |
SetSource(CpioArchive, CpioFormat) | Sets the content to be compressed within the archive. |
SetSource(TarArchive, TarFormat) | Sets the content to be compressed within the archive. |
Remarks
bzip2 compresses files using the Burrows-Wheeler block sorting text compression algorithm, and Huffman coding. See more: https://en.wikipedia.org/wiki/Bzip2
See Also
- interface IArchive
- interface IArchiveFileEntry
- namespace Aspose.Zip.Bzip2
- assembly Aspose.Zip