Example usage for Java java.nio.file.attribute BasicFileAttributes fields, constructors, methods, implement or subclass
The text is from its open source code.
FileTime | creationTime() Returns the creation time. |
Object | fileKey() Returns an object that uniquely identifies the given file, or null if a file key is not available. |
boolean | isDirectory() Tells whether the file is a directory. |
boolean | isOther() Tells whether the file is something other than a regular file, directory, or symbolic link. |
boolean | isRegularFile() Tells whether the file is a regular file with opaque content. |
boolean | isSymbolicLink() Tells whether the file is a symbolic link. |
FileTime | lastAccessTime() Returns the time of last access. |
FileTime | lastModifiedTime() Returns the time of last modification. |
long | size() Returns the size of the file (in bytes). |