Package omero.gateway.facility
Class TransferFacility
- java.lang.Object
-
- omero.gateway.facility.Facility
-
- omero.gateway.facility.TransferFacility
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class omero.gateway.facility.Facility
addPropertyChangeListener, clear, firePropertyChanged, firePropertyChanged, getFacility, logDebug, logError, logInfo, logWarn, removePropertyChangeListener
-
-
-
-
Method Detail
-
downloadImage
public java.util.List<java.io.File> downloadImage(SecurityContext context, java.lang.String targetPath, long imageId) throws DSAccessException, DSOutOfServiceException
Downloads the original file of an image from the server.- Parameters:
context
- The security context.targetPath
- Path to the file.imageId
- The identifier of the image.- Returns:
- See above
- Throws:
DSOutOfServiceException
- If the connection is broken, or not logged inDSAccessException
- If an error occurred while trying to retrieve data from OMERO service.
-
-