ArchiveFactory
Contents
[
Hide
]ArchiveFactory class
Detects the archive format and creates the appropriate IArchive object according to the type of archive.
The ArchiveFactory type exposes the following members:
Methods
| Name | Description |
|---|---|
| get_archive(path) | Detects the archive format and creates the appropriate IArchive object according to the type of archive specified by the given path. |
| get_archive(stream) | Detects the archive format and creates the appropriate IArchive object according to the type of archive specified by the given stream. |
| get_archive(stream, password) | Detects the archive format and creates the appropriate IArchive object according to the type of encrypted archive specified by the given stream. |
| compress_directory(path, output_file_name, archive_format) | Compresses the specified directory into an archive file using the provided archive format. |
See Also
- namespace aspose.zip
- assembly Aspose.Zip