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()
FileProps
creationTime
in interface FileProps
public long lastAccessTime()
FileProps
lastAccessTime
in interface FileProps
public long lastModifiedTime()
FileProps
lastModifiedTime
in interface FileProps
public boolean isDirectory()
FileProps
isDirectory
in interface FileProps
public boolean isOther()
FileProps
public boolean isRegularFile()
FileProps
isRegularFile
in interface FileProps
public boolean isSymbolicLink()
FileProps
isSymbolicLink
in interface FileProps
Copyright © 2015. All Rights Reserved.