Interface FileStorageService
public interface FileStorageService
Provides access to local or remote file.
- Author:
- P.Piernik
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionpl.edu.icm.unity.base.file.FileData
readFileFromWorkspace
(String workspacePath) pl.edu.icm.unity.base.file.FileData
storeFileInWorkspace
(byte[] content, String workspacePath)
-
Method Details
-
storeFile
URI storeFile(byte[] content, String ownerType, String ownerId) throws pl.edu.icm.unity.base.exceptions.EngineException - Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
storeFileInWorkspace
pl.edu.icm.unity.base.file.FileData storeFileInWorkspace(byte[] content, String workspacePath) throws pl.edu.icm.unity.base.exceptions.EngineException - Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-
readFileFromWorkspace
pl.edu.icm.unity.base.file.FileData readFileFromWorkspace(String workspacePath) throws pl.edu.icm.unity.base.exceptions.EngineException - Throws:
pl.edu.icm.unity.base.exceptions.EngineException
-