vertx / io.vertx.core.file / FileProps

FileProps

interface FileProps

Represents properties of a file on the file system.

Author
Tim Fox

Functions

creationTime

abstract fun creationTime(): Long

The date the file was created

isDirectory

abstract fun isDirectory(): Boolean

Is the file a directory?

isOther

abstract fun isOther(): Boolean

Is the file some other type? (I.e. not a directory, regular file or symbolic link)

isRegularFile

abstract fun isRegularFile(): Boolean

Is the file a regular file?

isSymbolicLink

abstract fun isSymbolicLink(): Boolean

Is the file a symbolic link?

lastAccessTime

abstract fun lastAccessTime(): Long

The date the file was last accessed

lastModifiedTime

abstract fun lastModifiedTime(): Long

The date the file was last modified

size

abstract fun size(): Long

The size of the file, in bytes