Package io.vertx.core.file
Interface FileProps
-
public interface FilePropsRepresents properties of a file on the file system.- Author:
- Tim Fox
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longcreationTime()The date the file was createdbooleanisDirectory()Is the file a directory?booleanisOther()Is the file some other type?booleanisRegularFile()Is the file a regular file?booleanisSymbolicLink()Is the file a symbolic link?longlastAccessTime()The date the file was last accessedlonglastModifiedTime()The date the file was last modifiedlongsize()The size of the file, in bytes
-
-
-
Method Detail
-
creationTime
long creationTime()
The date the file was created
-
lastAccessTime
long lastAccessTime()
The date the file was last accessed
-
lastModifiedTime
long lastModifiedTime()
The date the file was last modified
-
isDirectory
boolean isDirectory()
Is the file a directory?
-
isOther
boolean isOther()
Is the file some other type? (I.e. not a directory, regular file or symbolic link)
-
isRegularFile
boolean isRegularFile()
Is the file a regular file?
-
isSymbolicLink
boolean isSymbolicLink()
Is the file a symbolic link?
-
size
long size()
The size of the file, in bytes
-
-