com.caucho.vfs.remote
Class Stat

java.lang.Object
  extended by com.caucho.vfs.remote.Stat
All Implemented Interfaces:
java.io.Serializable

public class Stat
extends java.lang.Object
implements java.io.Serializable

Stats.

See Also:
Serialized Form

Constructor Summary
Stat()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Stat

public Stat()
Method Detail

setLength

public void setLength(long length)
Sets the file's length.


getLength

public long getLength()
Returns the file's length.


setLastModified

public void setLastModified(long lastModified)
Sets the last-modified time.


getLastModified

public long getLastModified()
Gets the last-modified time.


setDigest

public void setDigest(long digest)
Sets the CRC-64 digest


getDigest

public long getDigest()
Gets the CRC-64 digest


setCanRead

public void setCanRead(boolean canRead)
True if the path is readable.


getCanRead

public boolean getCanRead()
True if the path is readable.


setCanWrite

public void setCanWrite(boolean canWrite)

getCanWrite

public boolean getCanWrite()

setDirectory

public void setDirectory(boolean isDirectory)

isDirectory

public boolean isDirectory()

setFile

public void setFile(boolean isFile)

isFile

public boolean isFile()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object