public interface IDownloadService
| Modifier and Type | Method and Description |
|---|---|
File |
store(URI uri,
File destinationDirectory)
Opens the resource at uri and copies it into the destinationDirectory.
|
File |
store(URI uri,
File destinationDirectory,
String downloadName)
Opens the resource at uri and copies it into the destinationDirectory.
|
File store(URI uri, File destinationDirectory, String downloadName) throws ResourceAccessException
uri - The resource address.destinationDirectory - The directory to copy the resource to.downloadName - The name of the resource, for logging purposes.ResourceAccessException - If file operations fail.File store(URI uri, File destinationDirectory) throws ResourceAccessException
uri - The resource address.destinationDirectory - The directory to copy the resource to.ResourceAccessException - If file operations fail.Copyright © 2018 JULIE Lab, Germany. All rights reserved.