Class ZArchive
Contents
[
Hide
]ZArchive class
This class represents a Z (compress) archive file. Use it to compose or extract Z archives.
public class ZArchive : IArchive, IArchiveFileEntry
Constructors
| Name | Description |
|---|---|
| ZArchive() | Initializes a new instance of the ZArchive class prepared for compressing. |
| ZArchive(Stream, ZArchiveLoadOptions) | Initializes a new instance of the ZArchive class prepared for decompressing. |
| ZArchive(string, ZArchiveLoadOptions) | Initializes a new instance of the ZArchive class prepared for decompressing. |
Methods
| Name | Description |
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Extract(FileInfo) | Extracts Z archive to a file. |
| Extract(Stream) | Extracts Z archive to a stream. |
| Extract(string) | Extracts Z archive to a file by path. |
| ExtractToDirectory(string) | Extracts content of the archive to the directory provided. |
| Save(Stream, ZArchiveSaveOptions) | Saves xz archive to the stream provided. |
| Save(string, ZArchiveSaveOptions) | Saves Z archive to the 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. |
Remarks
See https://docs.fileformat.com/compression/z/
See Also
- interface IArchive
- interface IArchiveFileEntry
- namespace Aspose.Zip.Z
- assembly Aspose.Zip