Discuss this help topic in SecureBlackbox Forum

TElZipWriter.AddDirContents

TElZipWriter     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds directory contents to archive.

Declaration

[C#/Java]
    void AddDirContents(string Path);
    void AddDirContents(TElZipArchiveDirectoryEntry Parent, string Path);
    void AddDirContents(string Path, string Mask);
    void AddDirContents(TElZipArchiveDirectoryEntry Parent, string Path, string Mask);

[VB.NET]
    Sub AddDirContents(ByVal Path As String)
    Sub AddDirContents(ByVal Parent As TElZipArchiveDirectoryEntry, ByVal Path As String)
    Sub AddDirContents(ByVal Path As String, ByVal Mask As String)
    Sub AddDirContents(ByVal Parent As TElZipArchiveDirectoryEntry, ByVal Path As String, ByVal Mask As String)

[Pascal]
    procedure AddDirContents(const Path : string);
    procedure AddDirContents(const Path : string; const Mask : string);
    procedure AddDirContents(Parent : TElZipArchiveDirectoryEntry; const Path : string);
    procedure AddDirContents(Parent : TElZipArchiveDirectoryEntry; const Path : string; const Mask : string);

[C++]
    void AddDirContents(const std::string &Path);
    void AddDirContents(TElZipArchiveDirectoryEntry &Parent, const std::string &Path);
    void AddDirContents(TElZipArchiveDirectoryEntry *Parent, const std::string &Path);
    void AddDirContents(const std::string &Path, const std::string &Mask);
    void AddDirContents(TElZipArchiveDirectoryEntry &Parent, const std::string &Path, const std::string &Mask);
    void AddDirContents(TElZipArchiveDirectoryEntry *Parent, const std::string &Path, const std::string &Mask);

[PHP]
    void AddDirContents(string $Path)
    void AddDirContents(TElZipArchiveDirectoryEntry $Parent, string $Path)
    void AddDirContents(string $Path, string $Mask)
    void AddDirContents(TElZipArchiveDirectoryEntry $Parent, string $Path, string $Mask)

Parameters

  • Parent - directory to which the content should be added. If omitted, root entry is used.
  • Path - path to the directory which contents should be added
  • Mask - the mask to match the files in the directory

Description

    Use this method to add directory contents to the archive.

    Files are chosen by mask which can be a simple mask, set of masks or a regular expression (read more about masks).

See also:     About file masks and regular expressions     Add     MakeDir    

Discuss this help topic in SecureBlackbox Forum