com.scooterframework.builtin
Class FileInfo

java.lang.Object
  extended by com.scooterframework.builtin.FileInfo

public class FileInfo
extends java.lang.Object

FileInfo class.


Constructor Summary
FileInfo(java.io.File file)
           
 
Method Summary
 java.lang.String getActionURI(java.lang.String action)
           
 java.io.File getFile()
           
 java.util.Date getLastModified()
           
 java.lang.String getName()
           
 java.lang.String getRelativePath()
           
static java.lang.String getRelativePath(java.io.File file)
           
 java.lang.String getSizeDisplay()
           
 java.lang.String getType()
           
 boolean isDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileInfo

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

getRelativePath

public static java.lang.String getRelativePath(java.io.File file)

getFile

public java.io.File getFile()

getName

public java.lang.String getName()

getLastModified

public java.util.Date getLastModified()

getType

public java.lang.String getType()

getSizeDisplay

public java.lang.String getSizeDisplay()

isDirectory

public boolean isDirectory()

getRelativePath

public java.lang.String getRelativePath()

getActionURI

public java.lang.String getActionURI(java.lang.String action)