Class XzArchive
Contents
[
Hide
]XzArchive class
This class represents xz archive file. Use it to compose and extract xz archives.
public class XzArchive : IArchive, IArchiveFileEntry
Constructors
| Name | Description | 
|---|---|
| XzArchive(XzArchiveSettings) | Initializes a new instance of the XzArchive class and composes the archive in xz format. | 
| XzArchive(Stream, XzLoadOptions) | Initializes a new instance of the XzArchive class prepared for decompressing. | 
| XzArchive(string, XzLoadOptions) | Initializes a new instance of the XzArchive class prepared for decompressing. | 
Methods
| Name | Description | 
|---|---|
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | 
| Extract(FileInfo) | Extracts xz archive to a file. | 
| Extract(Stream) | Extracts xz archive to a stream. | 
| Extract(string) | Extracts xz archive to a file by path. | 
| ExtractToDirectory(string) | Extracts content of the archive to the directory provided. | 
| Save(Stream) | Saves xz archive to the stream provided. | 
| Save(string) | Saves xz 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. | 
See Also
- interface IArchive
 - interface IArchiveFileEntry
 - namespace Aspose.Zip.Xz
 - assembly Aspose.Zip