Interface FileStorageService
-
public interface FileStorageServiceProvides access to local or remote file.- Author:
- P.Piernik
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFileStorageService.StandardOwner
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description pl.edu.icm.unity.base.file.FileDatareadFileFromWorkspace(String workspacePath)URIstoreFile(byte[] content, String ownerType, String ownerId)pl.edu.icm.unity.base.file.FileDatastoreFileInWorkspace(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
-
-