Top Description Methods
io.vertx.core.file

public Interface FileProps

Known Direct Implementers
io.vertx.core.file.impl.FilePropsImpl
Annotations
@VertxGen
Imports
io.vertx.codegen.annotations.VertxGen

Represents properties of a file on the file system.

Author
Tim Fox

Method Summary

Modifier and TypeMethod and Description
public long
creationTime()

The date the file was created

public boolean
isDirectory()

Is the file a directory?

public boolean
isOther()

Is the file some other type?

public boolean
isRegularFile()

Is the file a regular file?

public long
lastAccessTime()

The date the file was last accessed

public long
lastModifiedTime()

The date the file was last modified

public long
size()

The size of the file, in bytes

Method Detail

creationTimeback to summary
public long creationTime()

The date the file was created

isDirectoryback to summary
public boolean isDirectory()

Is the file a directory?

isOtherback to summary
public boolean isOther()

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

isRegularFileback to summary
public boolean isRegularFile()

Is the file a regular file?

lastAccessTimeback to summary
public long lastAccessTime()

The date the file was last accessed

lastModifiedTimeback to summary
public long lastModifiedTime()

The date the file was last modified

sizeback to summary
public long size()

The size of the file, in bytes