Snapper 3.0 API

org.enhydra.snapperPreviewer.business
Class FileContainerManagerImpl

java.lang.Object
  extended by org.enhydra.snapperPreviewer.business.FileContainerManagerImpl
All Implemented Interfaces:
FileContainerManager

public class FileContainerManagerImpl
extends java.lang.Object
implements FileContainerManager

Author:
Milin Radivoj

Constructor Summary
FileContainerManagerImpl()
           
 
Method Summary
 void deleteAllTempFiles()
           
 java.io.File getContainerFile(java.lang.String path, java.lang.String siteName)
           
 long getCurrentTime()
           
 java.lang.String getRestOfFilePath()
           
 java.lang.String getTypeOfContainerFile()
           
 java.lang.String getTypeOfFile()
           
 void init()
           
 void setCurrentTime(long currentTime)
           
 void setTypeOfContainerFile(java.lang.String typeOfContainerFile)
           
 void setTypeOfFile(java.lang.String typeOfFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileContainerManagerImpl

public FileContainerManagerImpl()
Method Detail

init

public void init()
          throws java.io.IOException
Specified by:
init in interface FileContainerManager
Throws:
java.io.IOException

getRestOfFilePath

public java.lang.String getRestOfFilePath()
Specified by:
getRestOfFilePath in interface FileContainerManager

getContainerFile

public java.io.File getContainerFile(java.lang.String path,
                                     java.lang.String siteName)
                              throws java.lang.Exception
Specified by:
getContainerFile in interface FileContainerManager
Throws:
java.lang.Exception

deleteAllTempFiles

public void deleteAllTempFiles()
Specified by:
deleteAllTempFiles in interface FileContainerManager

getCurrentTime

public long getCurrentTime()
Specified by:
getCurrentTime in interface FileContainerManager

setCurrentTime

public void setCurrentTime(long currentTime)
Specified by:
setCurrentTime in interface FileContainerManager

getTypeOfFile

public java.lang.String getTypeOfFile()
Specified by:
getTypeOfFile in interface FileContainerManager

setTypeOfFile

public void setTypeOfFile(java.lang.String typeOfFile)
Specified by:
setTypeOfFile in interface FileContainerManager

getTypeOfContainerFile

public java.lang.String getTypeOfContainerFile()
Specified by:
getTypeOfContainerFile in interface FileContainerManager

setTypeOfContainerFile

public void setTypeOfContainerFile(java.lang.String typeOfContainerFile)
Specified by:
setTypeOfContainerFile in interface FileContainerManager

Snapper 3.0 API