jmaster.jumploader.model.api.file
Interface IFile

All Known Subinterfaces:
IUploadFile

public interface IFile

IFile


Method Summary
 IAttributeSet getAttributeSet()
          attribute set retrieval
 java.lang.Double getCompressionRatio()
          compression ratio (transformed file length / original file length)
 java.io.File getFile()
          file handle retrieval
 java.lang.String getId()
          file id retrieval (convinience method)
 long getLength()
          file length retrieval (bytes)
 java.lang.String getName()
          local file name retrieval
 java.lang.String getOriginalFilePath()
          oroginal file path retrieval, used when original file replaced with transformed (i.e. zipped)
 java.lang.String getPath()
          local file path retrieval
 boolean isDirectory()
          shows whether file is directory
 boolean isDrive()
          shows whether file is drive
 boolean isFile()
          shows whether file is normal file
 boolean isFileSystem()
          shows whether file belongs to filesystem or not
 void setId(java.lang.String id)
          id assignment
 

Method Detail

getId

java.lang.String getId()
file id retrieval (convinience method)


setId

void setId(java.lang.String id)
id assignment


getFile

java.io.File getFile()
file handle retrieval


getPath

java.lang.String getPath()
local file path retrieval


getName

java.lang.String getName()
local file name retrieval


getLength

long getLength()
file length retrieval (bytes)


isDirectory

boolean isDirectory()
shows whether file is directory


isFile

boolean isFile()
shows whether file is normal file


isFileSystem

boolean isFileSystem()
shows whether file belongs to filesystem or not


isDrive

boolean isDrive()
shows whether file is drive


getAttributeSet

IAttributeSet getAttributeSet()
attribute set retrieval


getOriginalFilePath

java.lang.String getOriginalFilePath()
oroginal file path retrieval, used when original file replaced with transformed (i.e. zipped)


getCompressionRatio

java.lang.Double getCompressionRatio()
compression ratio (transformed file length / original file length)