public interface FileProps
Instances of FileProps are thread-safe
Modifier and Type | Method and Description |
---|---|
java.util.Date |
creationTime()
The date the file was created
|
boolean |
isDirectory()
Is the file a directory?
|
boolean |
isOther()
Is the file some other type? (I.e.
|
boolean |
isRegularFile()
Is the file a regular file?
|
boolean |
isSymbolicLink()
Is the file a symbolic link?
|
java.util.Date |
lastAccessTime()
The date the file was last accessed
|
java.util.Date |
lastModifiedTime()
The date the file was last modified
|
long |
size()
The size of the file, in bytes
|
java.util.Date creationTime()
java.util.Date lastAccessTime()
java.util.Date lastModifiedTime()
boolean isDirectory()
boolean isOther()
boolean isRegularFile()
boolean isSymbolicLink()
long size()