VfsFile

A specific file representation.

Members

Functions

copy
VfsFile copy(VfsFile source)

Create and copy the given source.

create
VfsFile create()

Create a new file instance.

create
VfsFile create(InputStream stream)

Create a new file instance and populate with stream.

dup
VfsFile dup()

Duplicate this entry.

exists
bool exists()

Does this file exist?

input
InputStream input()

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

modified
Time modified()

The modified time of the folder.

move
VfsFile move(VfsFile source)

Create and copy the given source, and remove the source.

name
istring name()

Return a short name.

output
OutputStream output()

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

remove
VfsFile remove()

Remove this file.

size
ulong size()

Return the file size.

toString
istring toString()

Return a long name.

Meta