ZipFile

This class represents a file within an archive.

Members

Functions

copy
VfsFile copy(VfsFile source)
create
VfsFile create()
create
VfsFile create(InputStream stream)
move
VfsFile move(VfsFile source)
remove
VfsFile remove()
toString
string toString()

Properties

dup
VfsFile dup [@property getter]
exists
bool exists [@property getter]
input
InputStream input [@property getter]
modified
Time modified [@property getter]
name
const(char)[] name [@property getter]
output
OutputStream output [@property getter]
size
ulong size [@property getter]

Inherited Members

From VfsFile

name
const(char)[] name [@property getter]

Return a short name

toString
immutable(char)[] toString()

Return a long name

exists
bool exists [@property getter]

Does this file exist?

size
ulong size [@property getter]

Return the file size

copy
VfsFile copy(VfsFile source)

Create and copy the given source

move
VfsFile move(VfsFile source)

Create and copy the given source, and remove the source

create
VfsFile create()

Create a new file instance

create
VfsFile create(InputStream stream)

Create a new file instance and populate with stream

remove
VfsFile remove()

Remove this file

input
InputStream input [@property getter]

Return the input stream. Don't forget to close it

output
OutputStream output [@property getter]

Return the output stream. Don't forget to close it

dup
VfsFile dup [@property getter]

Duplicate this entry

modified
Time modified [@property getter]

The modified time of the folder

Meta