org.whatsitcalled.webflange.file
Class FileManager
java.lang.Object
org.whatsitcalled.webflange.file.FileManager
public class FileManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileManager
public FileManager()
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.