public class Stat
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Stat() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCanRead()
True if the path is readable.
|
boolean |
getCanWrite() |
long |
getDigest()
Gets the CRC-64 digest
|
long |
getLastModified()
Gets the last-modified time.
|
long |
getLength()
Returns the file's length.
|
boolean |
isDirectory() |
boolean |
isFile() |
void |
setCanRead(boolean canRead)
True if the path is readable.
|
void |
setCanWrite(boolean canWrite) |
void |
setDigest(long digest)
Sets the CRC-64 digest
|
void |
setDirectory(boolean isDirectory) |
void |
setFile(boolean isFile) |
void |
setLastModified(long lastModified)
Sets the last-modified time.
|
void |
setLength(long length)
Sets the file's length.
|
java.lang.String |
toString() |
public void setLength(long length)
public long getLength()
public void setLastModified(long lastModified)
public long getLastModified()
public void setDigest(long digest)
public long getDigest()
public void setCanRead(boolean canRead)
public boolean getCanRead()
public void setCanWrite(boolean canWrite)
public boolean getCanWrite()
public void setDirectory(boolean isDirectory)
public boolean isDirectory()
public void setFile(boolean isFile)
public boolean isFile()
public java.lang.String toString()
toString
in class java.lang.Object