Modifier and Type | Method and Description |
---|---|
java.util.List<java.io.File> |
downloadImage(SecurityContext context,
java.lang.String targetPath,
long imageId)
Downloads the original file of an image from the server.
|
addPropertyChangeListener, clear, firePropertyChanged, firePropertyChanged, getFacility, logDebug, logError, logInfo, logWarn, removePropertyChangeListener
public java.util.List<java.io.File> downloadImage(SecurityContext context, java.lang.String targetPath, long imageId) throws DSAccessException, DSOutOfServiceException
context
- The security context.targetPath
- Path to the file.imageId
- The identifier of the image.DSOutOfServiceException
- If the connection is broken, or not logged inDSAccessException
- If an error occurred while trying to retrieve data from OMERO
service.