public interface FileAttr
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getLastAccess()
Retrieve the time and date of the last access to this file.
|
java.util.Date |
getLastMod()
Retrieve the time and date of the last modification to this file.
|
java.lang.String |
getName()
Obtain the name of the file.
|
long |
getSize()
Obtain the size of the file in bytes.
|
boolean |
isDir()
Check if the object defined by this attribute is a directory.
|
boolean |
isFile()
Check if the object defined by this attribute is a file.
|
java.lang.String getName()
boolean isDir()
boolean isFile()
long getSize()
java.util.Date getLastAccess()
java.util.Date getLastMod()