public interface FileProps
Represents properties of a file on the file system<p> Instances of FileProps are thread-safe<p>
Modifier and Type | Method and Description |
---|---|
long |
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?
|
long |
lastAccessTime()
The date the file was last accessed
|
long |
lastModifiedTime()
The date the file was last modified
|
long |
size()
The size of the file, in bytes
|
long creationTime()
The date the file was created
long lastAccessTime()
The date the file was last accessed
long lastModifiedTime()
The date the file was last modified
boolean isDirectory()
Is the file a directory?
boolean isOther()
Is the file some other type? (I.e. not a directory, regular file or symbolic link)
boolean isRegularFile()
Is the file a regular file?
boolean isSymbolicLink()
Is the file a symbolic link?
long size()
The size of the file, in bytes
Copyright © 2014. All Rights Reserved.