com.gentlyweb.utils
Class FileDetails

java.lang.Object
  extended by com.gentlyweb.utils.FileDetails

public class FileDetails
extends java.lang.Object


Constructor Summary
FileDetails(java.io.File file)
           
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 boolean exists()
           
 java.io.File getFile()
           
 long getLength()
           
 boolean isDirectory()
           
 boolean isFile()
           
 boolean isHidden()
           
 long lastModified()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDetails

public FileDetails(java.io.File file)
Method Detail

getFile

public java.io.File getFile()

isDirectory

public boolean isDirectory()

isFile

public boolean isFile()

canWrite

public boolean canWrite()

canRead

public boolean canRead()

getLength

public long getLength()

isHidden

public boolean isHidden()

lastModified

public long lastModified()

exists

public boolean exists()