org.whatsitcalled.webflange.file
Class FileManager

java.lang.Object
  extended by org.whatsitcalled.webflange.file.FileManager

public class FileManager
extends java.lang.Object


Constructor Summary
FileManager()
           
 
Method Summary
 void deleteChartFile(Chart chart)
           
 void deletePropertyFile(LoadTest test)
           
 void deleteScriptFile(Script script)
           
 void deleteUploadFile(java.lang.Object key)
           
 java.lang.String getArchiveDir()
           
 java.lang.String getBaseDir()
           
 org.apache.wicket.util.file.Folder getDataFolder()
           
 java.io.File getPropertyFile(LoadTest test)
           
 java.lang.String getPropertyFileName(LoadTest test)
           
 org.apache.wicket.util.file.Folder getPropertyFolder()
           
 java.io.File getScriptFile(Script script)
           
 java.lang.String getScriptFileContent(Script script)
           
 java.lang.String getScriptFileName(Script script)
           
 org.apache.wicket.util.file.Folder getScriptFolder()
           
 org.apache.wicket.util.file.Folder getUploadFolder()
           
 void init()
           
 void loadChartFile(Chart chart)
           
 void saveChartFile(Chart chart, java.lang.String type)
           
 void savePropertyFile(LoadTest test, java.io.InputStream stream)
           
 void saveScriptFile(Script script, java.io.InputStream stream)
           
 void saveUploadFile(java.lang.Object key, java.io.InputStream stream)
           
 void setArchiveDir(java.lang.String archiveDir)
           
 void setBaseDir(java.lang.String dir)
           
 void setDataFolder(org.apache.wicket.util.file.Folder dataFolder)
           
 void setPropertyFolder(org.apache.wicket.util.file.Folder propertyFolder)
           
 void setScriptFolder(org.apache.wicket.util.file.Folder scriptFolder)
           
 void setUploadFolder(org.apache.wicket.util.file.Folder uploadFolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileManager

public FileManager()
Method Detail

init

public void init()

saveScriptFile

public void saveScriptFile(Script script,
                           java.io.InputStream stream)
                    throws FileManagerException
Throws:
FileManagerException

saveUploadFile

public void saveUploadFile(java.lang.Object key,
                           java.io.InputStream stream)
                    throws FileManagerException
Throws:
FileManagerException

savePropertyFile

public void savePropertyFile(LoadTest test,
                             java.io.InputStream stream)
                      throws FileManagerException
Throws:
FileManagerException

deleteUploadFile

public void deleteUploadFile(java.lang.Object key)
                      throws FileManagerException
Throws:
FileManagerException

deleteScriptFile

public void deleteScriptFile(Script script)
                      throws FileManagerException
Throws:
FileManagerException

deletePropertyFile

public void deletePropertyFile(LoadTest test)
                        throws FileManagerException
Throws:
FileManagerException

getScriptFileContent

public java.lang.String getScriptFileContent(Script script)

getPropertyFile

public java.io.File getPropertyFile(LoadTest test)

getScriptFileName

public java.lang.String getScriptFileName(Script script)

getPropertyFileName

public java.lang.String getPropertyFileName(LoadTest test)

getScriptFile

public java.io.File getScriptFile(Script script)

getBaseDir

public java.lang.String getBaseDir()

setBaseDir

public void setBaseDir(java.lang.String dir)

getUploadFolder

public org.apache.wicket.util.file.Folder getUploadFolder()

setUploadFolder

public void setUploadFolder(org.apache.wicket.util.file.Folder uploadFolder)

getPropertyFolder

public org.apache.wicket.util.file.Folder getPropertyFolder()

setPropertyFolder

public void setPropertyFolder(org.apache.wicket.util.file.Folder propertyFolder)

getScriptFolder

public org.apache.wicket.util.file.Folder getScriptFolder()

setScriptFolder

public void setScriptFolder(org.apache.wicket.util.file.Folder scriptFolder)

getDataFolder

public org.apache.wicket.util.file.Folder getDataFolder()

setDataFolder

public void setDataFolder(org.apache.wicket.util.file.Folder dataFolder)

deleteChartFile

public void deleteChartFile(Chart chart)
                     throws FileManagerException
Throws:
FileManagerException

saveChartFile

public void saveChartFile(Chart chart,
                          java.lang.String type)
                   throws FileManagerException
Throws:
FileManagerException

loadChartFile

public void loadChartFile(Chart chart)
                   throws FileManagerException
Throws:
FileManagerException

getArchiveDir

public java.lang.String getArchiveDir()

setArchiveDir

public void setArchiveDir(java.lang.String archiveDir)


Copyright © 2008 Innobuilt Software LLC. All Rights Reserved.