Class ArchiveFactory
Contents
[
Hide
]ArchiveFactory class
Detects the archive format and creates the appropriate IArchive object according to the type of archive.
public static class ArchiveFactory
Methods
| Name | Description |
|---|---|
| static CompressDirectory(string, string, ArchiveFormat) | Compresses the specified directory into an archive file using the provided archive format. |
| static GetArchive(Stream) | Detects the archive format and creates the appropriate IArchive object according to the type of archive specified by the given stream. |
| static GetArchive(string) | Detects the archive format and creates the appropriate IArchive object according to the type of archive specified by the given path. |
| static GetArchive(Stream, string) | Detects the archive format and creates the appropriate IArchive object according to the type of encrypted archive specified by the given stream. |
See Also
- namespace Aspose.Zip
- assembly Aspose.Zip