C# Class FluentBuild.Runners.Zip.ZipCompress

Compresses a file or folder
Inheritance: FluentBuild.Utilities.InternalExecutable, IZipCompress
Afficher le fichier Open project: SkightTeam/eLiteWeb Class Usage Examples

Méthodes publiques

Méthode Description
SourceFile ( FluentFs file ) : ZipCompress

Sets ZipCompress to compress a single file

SourceFile ( string file ) : ZipCompress

Sets ZipCompress to compress a single file

SourceFolder ( FluentFs path ) : ZipCompress

Sets ZipCompress to compress an entire folder

SourceFolder ( string path ) : ZipCompress

Sets ZipCompress to compress an entire folder

To ( string zipFilePath ) : ZipCompress

The location to place the output

To ( FluentFs zipFilePath ) : void

The location to place the output

UsingPassword ( string password ) : ZipCompress

Sets the password to protect the zip file with

ZipCompress ( ) : System

Private Methods

Méthode Description
GetFiles ( ) : IList
InternalExecute ( ) : void
ZipCompress ( IFileSystemHelper fileSystemHelper ) : System

Method Details

SourceFile() public méthode

Sets ZipCompress to compress a single file
public SourceFile ( FluentFs file ) : ZipCompress
file FluentFs The file to compress
Résultat ZipCompress

SourceFile() public méthode

Sets ZipCompress to compress a single file
public SourceFile ( string file ) : ZipCompress
file string The file to compress
Résultat ZipCompress

SourceFolder() public méthode

Sets ZipCompress to compress an entire folder
public SourceFolder ( FluentFs path ) : ZipCompress
path FluentFs The folder to compress
Résultat ZipCompress

SourceFolder() public méthode

Sets ZipCompress to compress an entire folder
public SourceFolder ( string path ) : ZipCompress
path string The folder to compress
Résultat ZipCompress

To() public méthode

The location to place the output
public To ( string zipFilePath ) : ZipCompress
zipFilePath string path to the output file
Résultat ZipCompress

To() public méthode

The location to place the output
public To ( FluentFs zipFilePath ) : void
zipFilePath FluentFs path to the output file
Résultat void

UsingPassword() public méthode

Sets the password to protect the zip file with
public UsingPassword ( string password ) : ZipCompress
password string The password to use
Résultat ZipCompress

ZipCompress() public méthode

public ZipCompress ( ) : System
Résultat System