[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Create a new instance of the archive
Source position: libtar.pp line 165
public constructor TTarArchive.Create( |
Stream: TStream |
); overload; |
Filename: string; |
FileMode: Word = fmOpenRead or fmShareDenyWrite |
); overload; |
Stream |
|
Stream to read archive from |
Filename |
|
Filename to open and read archive from |
FileMode |
|
Filemode to open file with. |
Create can be used to create a new instance of TTarArchive using either a StreamTStream descendent or using a name of a file to open: FileName. In case of the filename, an open mode can be specified.
In case a filename is specified and the file cannot be opened, an exception will occur.
|
Find next archive entry |