Interface FileStorageService
-
public interface FileStorageService
Provides access to local or remote file.- Author:
- P.Piernik
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FileStorageService.StandardOwner
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description pl.edu.icm.unity.base.file.FileData
readFileFromWorkspace(String workspacePath)
URI
storeFile(byte[] content, String ownerType, String ownerId)
pl.edu.icm.unity.base.file.FileData
storeFileInWorkspace(byte[] content, String workspacePath)
-
-
-
Method Detail
-
storeFile
URI storeFile(byte[] content, String ownerType, String ownerId) throws EngineException
- Throws:
EngineException
-
storeFileInWorkspace
pl.edu.icm.unity.base.file.FileData storeFileInWorkspace(byte[] content, String workspacePath) throws EngineException
- Throws:
EngineException
-
readFileFromWorkspace
pl.edu.icm.unity.base.file.FileData readFileFromWorkspace(String workspacePath) throws EngineException
- Throws:
EngineException
-
-