public class FileStorage extends FileBasedStorage
FileBasedStorage.VersionInfo
ModelStorage.Types
config, httpAccessPath
Constructor and Description |
---|
FileStorage() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeConnection() |
File |
getBaseDir() |
protected InputStream |
getFile(String path) |
protected void |
initConnection() |
protected void |
linkFiles(String sourcePath,
String targetPath) |
protected void |
makeDirs(String path) |
void |
setBaseDir(File baseDir) |
protected void |
storeFile(InputStream source,
String path) |
protected void |
storeFile(InputStream source,
String path,
boolean override) |
close, connect, getHttpAccessPath, linkModelVersion, setHttpAccessPath, storeModel
storeModelChangeSet
protected void initConnection() throws StorageException
initConnection
in class FileBasedStorage
StorageException
protected void closeConnection()
closeConnection
in class FileBasedStorage
protected void makeDirs(String path) throws StorageException
makeDirs
in class FileBasedStorage
StorageException
protected void storeFile(InputStream source, String path) throws StorageException
storeFile
in class FileBasedStorage
StorageException
protected void storeFile(InputStream source, String path, boolean override) throws StorageException
storeFile
in class FileBasedStorage
StorageException
protected InputStream getFile(String path) throws StorageException
getFile
in class FileBasedStorage
StorageException
protected void linkFiles(String sourcePath, String targetPath) throws StorageException
linkFiles
in class FileBasedStorage
StorageException
public File getBaseDir()
public void setBaseDir(File baseDir)
Copyright © 2019 SEMS (Simulation Experiment Management for Systems Biology). All rights reserved.