Package io.vertx.rxjava3.core.file
Class FileProps
- java.lang.Object
-
- io.vertx.rxjava3.core.file.FileProps
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<FileProps>__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longcreationTime()The date the file was createdbooleanequals(Object o)FilePropsgetDelegate()inthashCode()booleanisDirectory()Is the file a directory?booleanisOther()Is the file some other type? (I.e.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 modifiedstatic FilePropsnewInstance(FileProps arg)longsize()The size of the file, in bytesStringtoString()
-
-
-
Method Detail
-
getDelegate
public FileProps getDelegate()
-
creationTime
public long creationTime()
The date the file was created- Returns:
-
lastAccessTime
public long lastAccessTime()
The date the file was last accessed- Returns:
-
lastModifiedTime
public long lastModifiedTime()
The date the file was last modified- Returns:
-
isDirectory
public boolean isDirectory()
Is the file a directory?- Returns:
-
isOther
public boolean isOther()
Is the file some other type? (I.e. not a directory, regular file or symbolic link)- Returns:
-
isRegularFile
public boolean isRegularFile()
Is the file a regular file?- Returns:
-
isSymbolicLink
public boolean isSymbolicLink()
Is the file a symbolic link?- Returns:
-
size
public long size()
The size of the file, in bytes- Returns:
-
-