ArchiveItem Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)
Represents an item (file or directory) within an archive.
Syntax
public abstract class ArchiveItem : FileSystemItem
Inherited Members
Properties
Name | Description |
---|---|
Can |
Returns true if the item can be extracted using Rebex ZIP for .NET component. |
Comment | Gets or sets the comment of the item. |
Compressed |
Gets compressed file length. |
Compression |
Gets the compression method used to compress the file. |
Crc32 | Gets the CRC32 (Cyclic Redundancy Check) value of the file (returns 0 for directories). |
Creation |
Gets or sets the creation time attribute of the item. |
Encryption |
Gets the name of the algorithm used to encrypt the current Zip |
Is |
Gets a value indicating whether the current Archive |
Is |
Gets a value indicating whether the item is a directory.
Inherited from File |
Is |
Gets a value indicating whether the Archive |
Is |
Gets a value indicating whether the current Zip |
Is |
Gets a value indicating whether the item is a file.
Inherited from File |
Is |
Gets a value indicating whether the item is a link. |
Is |
Gets a value indicating whether the current Archive |
Item |
Gets the type of the item. |
Last |
Gets or sets the last access time attribute of the item. |
Last |
Gets or sets the last modification time attribute of the item. |
Length | Gets uncompressed file length. |
Name | Gets the name of the file or directory.
Inherited from File |
Path | Gets the path of the file or directory.
It can be relative or absolute path depending on the way of use.
Inherited from File |
Methods
Name | Description |
---|---|
Delete() | Deletes the current file or empty directory item from the archive. |
Delete(Archive |
Deletes the current file or empty directory item from the archive. |
Delete(Traversal |
Deletes the current item from the archive. |
Extract |
Extracts the current file item into a byte array. |
Extract |
Extracts the current item into the specified directory. |
Extract |
Extracts the current item into the specified local directory using the specified arguments. |
Extract |
Extracts the current file item into a local file. |
Extract |
Extracts the current file item to the specified stream. |
Get |
Gets the creation time attribute of the item. |
Get |
Gets the last access time attribute of the item. |
Get |
Gets the last modification time attribute of the item. |
Open() | Returns an initialized read-only non-seekable stream to read the decompressed data of the current item. |
Open(String) | Returns an initialized read-only non-seekable stream to read the decompressed data of the current item. |
Rename(String) | Renames the current item. |
To |
Returns a System.String that represents the current item. |