public static interface DownloadService.Manifest.Builder
Modifier and Type | Method and Description |
---|---|
DownloadService.Manifest.Builder |
addFileWithTargetDirectory(java.net.URI sourceFileUri,
java.io.File targetDirectory)
Add a source file specifying a target directory.
|
DownloadService.Manifest.Builder |
addFileWithTargetFile(java.net.URI sourceFileUri,
java.io.File targetFile)
Add a source file specifying a target file destination.
|
DownloadService.Manifest |
build()
Build the manifest.
|
DownloadService.Manifest.Builder addFileWithTargetDirectory(java.net.URI sourceFileUri, java.io.File targetDirectory)
sourceFileUri
- source URISitargetDirectory
- target directoryDownloadService.Manifest.Builder addFileWithTargetFile(java.net.URI sourceFileUri, java.io.File targetFile)
sourceFileUri
- source URItargetFile
- target fileDownloadService.Manifest build()
java.lang.IllegalArgumentException
- if two or more source URIs point to the same target file