@Public public interface FileStatus
Modifier and Type | Method and Description |
---|---|
long |
getAccessTime()
Get the access time of the file.
|
long |
getBlockSize()
Get the block size of the file.
|
long |
getLen()
Return the length of this file.
|
long |
getModificationTime()
Get the modification time of the file.
|
Path |
getPath()
Returns the corresponding Path to the FileStatus.
|
short |
getReplication()
Get the replication factor of a file.
|
boolean |
isDir()
Checks if this object represents a directory.
|
long getLen()
long getBlockSize()
short getReplication()
long getModificationTime()
long getAccessTime()
boolean isDir()
true
if this is a directory, false
otherwisePath getPath()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.