Discuss this help topic in SecureBlackbox Forum

TElTarWriter.AddDirContents

TElTarWriter     See also     


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


Adds directory contents to archive.

Declaration

[C#]
    void AddDirContents(TElTarArchiveDirectoryEntry Parent, string Path, int Mode, TElUStarTarHeader USTAR);
    void AddDirContents(string Path, int Mode, TElUStarTarHeader USTAR);
    void AddDirContents(TElTarArchiveDirectoryEntry Parent, string Path, string Mask, int Mode, TElUStarTarHeader USTAR);
    void AddDirContents(string Path, string Mask, int Mode, TElUStarTarHeader USTAR);

[VB.NET]
    Sub AddDirContents(ByVal Parent As TElTarArchiveDirectoryEntry, ByVal Path As String, ByVal Mode As Integer, ByVal USTAR As TElUStarTarHeader)
    Sub AddDirContents(ByVal Path As String, ByVal Mode As Integer, ByVal USTAR As TElUStarTarHeader)
    Sub AddDirContents(ByVal Parent As TElTarArchiveDirectoryEntry, ByVal Path As String, ByVal Mask As String, ByVal Mode As Integer, ByVal USTAR As TElUStarTarHeader)
    Sub AddDirContents(ByVal Path As String, ByVal Mask As String, ByVal Mode As Integer, ByVal USTAR As TElUStarTarHeader)

[Pascal]
    procedure AddDirContents(Parent : TElTarArchiveDirectoryEntry; const Path : string; Mode : integer = 0; USTAR : TElUStarTarHeader = nil); overload;
    procedure AddDirContents(const Path : string; Mode : integer = 0; USTAR : TElUStarTarHeader = nil); overload;
    procedure AddDirContents(Parent : TElTarArchiveDirectoryEntry; const Path : string; const Mask : string; Mode : integer = 0; USTAR : TElUStarTarHeader = nil); overload;
    procedure AddDirContents(const Path : string; const Mask : string; Mode : integer = 0; USTAR : TElUStarTarHeader = nil); overload;

[C++]
    void AddDirContents(TElTarArchiveDirectoryEntry &Parent, const std::string &Path, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(TElTarArchiveDirectoryEntry *Parent, const std::string &Path, int32_t Mode, TElUStarTarHeader *USTAR);
    void AddDirContents(const std::string &Path, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(const std::string &Path, int32_t Mode, TElUStarTarHeader *USTAR);
    void AddDirContents(TElTarArchiveDirectoryEntry &Parent, const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(TElTarArchiveDirectoryEntry *Parent, const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader *USTAR);
    void AddDirContents(const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader &USTAR);
    void AddDirContents(const std::string &Path, const std::string &Mask, int32_t Mode, TElUStarTarHeader *USTAR);

[PHP]
    void AddDirContents(TElTarArchiveDirectoryEntry $Parent, string $Path, integer $Mode, TElUStarTarHeader $USTAR)
    void AddDirContents(string $Path, integer $Mode, TElUStarTarHeader $USTAR)
    void AddDirContents(TElTarArchiveDirectoryEntry $Parent, string $Path, string $Mask, integer $Mode, TElUStarTarHeader $USTAR)
    void AddDirContents(string $Path, string $Mask, integer $Mode, TElUStarTarHeader $USTAR)

[Java]
    void addDirContents(TElTarArchiveDirectoryEntry Parent, String Path, String Mask, int Mode, TElUStarTarHeader USTAR);
    void addDirContents(String Path, int Mode, TElUStarTarHeader USTAR);
    void addDirContents(String Path, String Mask, int Mode, TElUStarTarHeader USTAR);
    void addDirContents(TElTarArchiveDirectoryEntry Parent, String Path, int Mode, TElUStarTarHeader USTAR);

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
  • Mode - the value of the Mode attribute of the new entry.
  • USTAR - USTar attribute values.

Description

Use this method to contentes of a directory to the archive.

Files are chosen by mask which can be a simple mask, a 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