GzipArchive
Contents
[
Hide
]GzipArchive class
This class represents gzip archive file. Use it to compose or extract gzip archives.
The GzipArchive type exposes the following members:
Constructors
Name | Description |
---|---|
GzipArchive() | Initializes a new instance of the GzipArchive class prepared for compressing. |
GzipArchive(source_stream, parse_header) | Initializes a new instance of the GzipArchive class |
GzipArchive(path, parse_header) | Initializes a new instance of the GzipArchive class |
Properties
Name | Description |
---|---|
name | Name of original file. |
file_entries | Gets entries of |
length | Gets the length of the entry in bytes. |
Methods
Name | Description |
---|---|
set_source(source) | Sets the content to be compressed within the archive. |
set_source(path) | Sets the content to be compressed within the archive. |
set_source(tar_archive) | Sets the content to be compressed within the archive. |
extract(destination) | Extracts the archive to the stream provided. |
extract(path) | Extracts content of the archive to the directory provided. |
save(output_stream) | Saves archive to the stream provided. |
save(destination_file_name) | Saves archive to destination file provided. |
open() | Opens the archive for extraction and provides a stream with archive content. |
extract_to_directory(destination_directory) | Extracts content of the archive to the directory provided. |
See Also
- namespace aspose.zip.gzip
- assembly Aspose.Zip