| Constructor and Description |
|---|
FilePropsImpl(java.nio.file.attribute.BasicFileAttributes attrs) |
| 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
|
public FilePropsImpl(java.nio.file.attribute.BasicFileAttributes attrs)
public long creationTime()
FilePropscreationTime in interface FilePropspublic long lastAccessTime()
FilePropslastAccessTime in interface FilePropspublic long lastModifiedTime()
FilePropslastModifiedTime in interface FilePropspublic boolean isDirectory()
FilePropsisDirectory in interface FilePropspublic boolean isOther()
FilePropspublic boolean isRegularFile()
FilePropsisRegularFile in interface FilePropspublic boolean isSymbolicLink()
FilePropsisSymbolicLink in interface FilePropsCopyright © 2015. All Rights Reserved.