public class FileProps
extends java.lang.Object
Modifier and Type | Field 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
|
Constructor and Description |
---|
FileProps(java.nio.file.attribute.BasicFileAttributes attrs) |
public final java.util.Date creationTime
public final java.util.Date lastAccessTime
public final java.util.Date lastModifiedTime
public final boolean isDirectory
public final boolean isOther
public final boolean isRegularFile
public final boolean isSymbolicLink
public final long size