FileInfoFileStatpublic interface PosixFileInfo extends FileInfo
A snapshot be fetched using PosixFiles.stat(java.io.File).
FileInfo.Type| Modifier and Type | Method | Description |
|---|---|---|
long |
getBlockSize() |
Returns the optimal block size for reading or writing to this file, in bytes.
|
int |
getGid() |
Returns the GID of this file.
|
long |
getLastModifiedTime() |
Returns the last modification time of this file, in ms since epoch.
|
int |
getMode() |
Returns the mode, or permissions, of this file.
|
int |
getUid() |
Returns the UID of this file.
|
int getMode()
int getUid()
int getGid()
long getBlockSize()
long getLastModifiedTime()
getLastModifiedTime in interface FileInfo