Discuss this help topic in SecureBlackbox Forum

TElZipReader.Extract

TElZipReader     See also     


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


Extracts entry from the archive.

Declaration

[C#]
    void Extract(TElZipArchiveDirectoryEntry Entry, string OutputPath);
    void Extract(ArrayList Entries, string OutputPath);
    void Extract(string Mask, string OutputPath);

[VB.NET]
    Sub Extract(ByVal Entry As TElZipArchiveDirectoryEntry, ByVal OutputPath As String)
    Sub Extract(ByVal Entries As ArrayList, ByVal OutputPath As String)
    Sub Extract(ByVal Mask As String, ByVal OutputPath As String)

[Pascal]
    procedure Extract(Entry : TElZipArchiveDirectoryEntry; const OutputPath : string);
    procedure Extract(Entries: TList; const OutputPath : string);
    procedure Extract(const Mask: string; const OutputPath : string);

[C++]
    void Extract(TElZipArchiveDirectoryEntry &Entry, const std::string &OutputPath);
    void Extract(TElZipArchiveDirectoryEntry *Entry, const std::string &OutputPath);
    void Extract(TList &Entries, const std::string &OutputPath);
    void Extract(TList *Entries, const std::string &OutputPath);
    void Extract(const std::string &Mask, const std::string &OutputPath);

[PHP]
    void Extract(TElZipArchiveDirectoryEntry $Entry, string $OutputPath)
    void Extract(TList $Entries, string $OutputPath)
    void Extract(string $Mask, string $OutputPath)

[Java]
    void extract(ArrayList Entries, String OutputPath);
    void extract(String Mask, String OutputPath);
    void extract(TElZipArchiveDirectoryEntry Entry, String OutputPath);

Parameters

  • Entry - a single entry to be extracted.
  • Entries - multiple entries to be extracted.
  • OutputPath - path where the entry(es) must be extracted.
  • Mask - mask of the archive files.

Description

    Use this method to extract data from the archive.
    Note, that OutputPath should exist before extraction, and be accessible for writing. If OutputPath is empty, ExtractionStream parameter of the entry will be used to output data. If this parameter is not assigned, OnExtractionStreamNeeded event will be fired.

See also:     OnProgress     OnExtractionStreamNeeded     ExtractionStream    

Discuss this help topic in SecureBlackbox Forum