Méthode | Description | |
---|---|---|
Remove ( Primitive zipFile, Primitive files ) : Primitive |
Remove a file (or directory with all sub files) from an existing zip archive.
|
|
UnZip ( Primitive zipFile, Primitive directory ) : Primitive |
Uncompress a zip archive.
|
|
Zip ( Primitive zipFile, Primitive files ) : Primitive |
Compress files to a zip archive.
|
|
ZipList ( Primitive zipFile ) : Primitive |
List the files in a zip archive.
|
Méthode | Description | |
---|---|---|
AddToArchive ( |
||
ExtractFile ( string rootFolder, System.IO.Packaging.ZipPackagePart contentFile ) : void | ||
RemoveFromArchive ( |
public static Remove ( Primitive zipFile, Primitive files ) : Primitive | ||
zipFile | Primitive | The zip archive to remove a file from. |
files | Primitive | /// An array of files to remove from the zip archive. /// A single file or directory may also be deleted. /// Any directories will be recursively removed from the zip. /// |
Résultat | Primitive |
public static UnZip ( Primitive zipFile, Primitive directory ) : Primitive | ||
zipFile | Primitive | The zip archive to uncompress. |
directory | Primitive | A directory to uncompress the files to (existing files will be overwritten). |
Résultat | Primitive |
public static Zip ( Primitive zipFile, Primitive files ) : Primitive | ||
zipFile | Primitive | The zip archive file to create. |
files | Primitive | /// An array of files to append to the zip archive. /// A single file or directory may also be set. /// Any directories will be recursively added to the zip. /// Any white space in files or directories will be replaced with "_". /// |
Résultat | Primitive |
public static ZipList ( Primitive zipFile ) : Primitive | ||
zipFile | Primitive | The zip archive. |
Résultat | Primitive |