public class TransferFacility extends Facility
Facility which provides data transfer functionality, i.e. download
files and upload/import files.| 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, removePropertyChangeListenerpublic 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.
Version: 5.4.6-rc1-ice35-b84
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.