ZipPolicy.FileImpl

File implementation for Zip archives. Provides any additional functionality required of files by ZipArchives.

Constructors

this
this()
Undocumented in source.
this
this(string path)
Undocumented in source.
this
this(string[] path)
Undocumented in source.

Members

Properties

compressed
immutable(ubyte)[] compressed [@property getter]
compressionMethod
CompressionMethod compressionMethod [@property getter]
compressionMethod
CompressionMethod compressionMethod [@property setter]

Sets the compression method that will be used.

data
immutable(ubyte)[] data [@property getter]
data
immutable(ubyte)[] data [@property setter]
string data [@property setter]

Sets the decompressed data.

Variables

comment
string comment;

The comment for the member of the archive.

externalAttributes
uint externalAttributes;

The internal attributes specific to this member, as specified by the Zip format documentation.

extra
ubyte[] extra;

Additional data stored within the zip archive for this file.

flags
ushort flags;

Zip related flags specific for this member, as specified by the Zip format documentation.

internalAttributes
ushort internalAttributes;

The internal attributes specific to this member, as specified by the Zip format documentation.

modificationTime
DosFileTime modificationTime;

The time when the file was last modified.

Inherited Members

From ArchiveMember

_path
string _path;
Undocumented in source.
isDirectory
bool isDirectory [@property getter]
isFile
bool isFile [@property getter]
name
string name [@property getter]

Gets the final element in the path of this member. e.g. for the path "a/b/c/e/fg.txt" the result is "fg.txt"

name
string name [@property setter]

Sets the final element in the path of this member. e.g. for the path "a/b/c/e/fg.txt" the changed path part will be "fg.txt" Warning: Do not use this property while this member is currently part of an archive.

path
string path [@property getter]

Gets the path of this member.

path
string path [@property setter]

Sets the path of this member. Warning: Do not use this property while this member is currently part of an archive.

Meta