public interface FileInfo
A snapshot be fetched using Files.stat(java.io.File)
.
Modifier and Type | Interface and Description |
---|---|
static class |
FileInfo.Type |
Modifier and Type | Method and Description |
---|---|
long |
getLastModifiedTime()
Returns the last modification time of this file, in ms since epoch.
|
long |
getSize()
Returns the size of this file, in bytes.
|
FileInfo.Type |
getType()
Returns the type of this file.
|
FileInfo.Type getType()
long getSize()
long getLastModifiedTime()