Discuss this help topic in SecureBlackbox Forum

TElBZip2Writer.Add

TElBZip2Writer     See also     


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


Adds entry to the archive.

Declaration

[C#]
    bool Add(string FileName);
    bool Add(System.IO.Stream Stream);

[VB.NET]
    Function Add(ByVal FileName As String) As Boolean
    Function Add(ByVal Stream As System.IO.Stream) As Boolean

[Pascal]
    function Add(const FileName : string) : boolean; overload;
    function Add(Stream : TStream) : boolean; overload;

[C++]
    bool Add(const std::string &FileName);
    bool Add(TStream &Stream);
    bool Add(TStream *Stream);

[PHP]
    bool Add(string $FileName)
    bool Add(TStream $Stream)

[Java]
    boolean add(String FileName);
    boolean add(TElStream Stream);

Parameters

  • FileName - name of the new archive entry. If this parameter is omitted, the name will be generated automatically.
  • Stream - input stream with uncompressed data.

Return value

Returns true on success, and false if adding the new entry didn't succeed.

Description

Use this method to add a new entry to the archive.

See also:     CreateArchive    

Discuss this help topic in SecureBlackbox Forum