Class ArchiveFactory
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. |
See Also
- namespace Aspose.Zip
- assembly Aspose.Zip