Discuss this help topic in SecureBlackbox Forum

TElTarReader.Extract

TElTarReader     See also     


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


Extracts entry from the archive.

Declaration

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

[VB.NET]
    Sub Extract(ByVal Entry As TElTarArchiveDirectoryEntry, 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 : TElTarArchiveDirectoryEntry; const OutputPath : string = ''); overload;
    procedure Extract(Entries : TElList; const OutputPath : string = ''); overload;
    procedure Extract(const Mask : string; const OutputPath : string = ''); overload;

[C++]
    void Extract(TElTarArchiveDirectoryEntry &Entry, const std::string &OutputPath);
    void Extract(TElTarArchiveDirectoryEntry *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(TElTarArchiveDirectoryEntry $Entry, string $OutputPath)
    void Extract(TList $Entries, string $OutputPath)
    void Extract(string $Mask, string $OutputPath)

[Java]
    void extract(String Mask, String OutputPath);
    void extract(ArrayList Entries, String OutputPath);
    void extract(TElTarArchiveDirectoryEntry 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 property of the entry will be used to output the data. If this property is not assigned either, OnExtractionStreamNeeded event will be fired.

See also:     OnProgress     OnExtractionStreamNeeded     ExtractionStream    

Discuss this help topic in SecureBlackbox Forum