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(java.lang.String workspacePath)
java.net.URI
storeFile(byte[] content, java.lang.String ownerType, java.lang.String ownerId)
pl.edu.icm.unity.base.file.FileData
storeFileInWorkspace(byte[] content, java.lang.String workspacePath)
-
-
-
Method Detail
-
storeFile
java.net.URI storeFile(byte[] content, java.lang.String ownerType, java.lang.String ownerId) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
storeFileInWorkspace
pl.edu.icm.unity.base.file.FileData storeFileInWorkspace(byte[] content, java.lang.String workspacePath) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
readFileFromWorkspace
pl.edu.icm.unity.base.file.FileData readFileFromWorkspace(java.lang.String workspacePath) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
-