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 |
|---|---|
List<File> |
downloadImage(SecurityContext context,
String targetPath,
long imageId)
Downloads the original file of an image from the server.
|
addPropertyChangeListener, clear, firePropertyChanged, firePropertyChanged, getFacility, logDebug, logError, logInfo, logWarn, removePropertyChangeListenerpublic List<File> downloadImage(SecurityContext context, 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.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.