@Public public interface FileStatus
Modifier and Type | Method and Description |
---|---|
default long |
getAccessTime()
Get the last access time of the file.
|
long |
getLen()
Return the length of this file.
|
long |
getModificationTime()
Get the last modification time of the file.
|
default String |
getOwner()
Returns the owner of this file.
|
Path |
getPath()
Returns the corresponding Path to the FileStatus.
|
boolean |
isDir()
Checks if this object represents a directory.
|
long getLen()
boolean isDir()
true
if this is a directory, false
otherwisePath getPath()
long getModificationTime()
default long getAccessTime()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.