Package org.arvados.client.logic.keep
Class FileDownloader
- java.lang.Object
-
- org.arvados.client.logic.keep.FileDownloader
-
public class FileDownloader extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileDownloader(KeepClient keepClient, ManifestDecoder manifestDecoder, CollectionsApiClient collectionsApiClient, KeepWebApiClient keepWebApiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.io.File>
downloadFilesFromCollection(java.lang.String collectionUuid, java.lang.String pathToDownloadFolder)
java.util.List<java.io.File>
downloadFilesFromCollectionUsingKeepWeb(java.lang.String collectionUuid, java.lang.String pathToDownloadFolder)
java.io.File
downloadFileWithResume(java.lang.String collectionUuid, java.lang.String fileName, java.lang.String pathToDownloadFolder, long start, java.lang.Long end)
java.io.File
downloadSingleFileUsingKeepWeb(java.lang.String filePathName, java.lang.String collectionUuid, java.lang.String pathToDownloadFolder)
java.util.List<FileToken>
listFileInfoFromCollection(java.lang.String collectionUuid)
-
-
-
Constructor Detail
-
FileDownloader
public FileDownloader(KeepClient keepClient, ManifestDecoder manifestDecoder, CollectionsApiClient collectionsApiClient, KeepWebApiClient keepWebApiClient)
-
-
Method Detail
-
listFileInfoFromCollection
public java.util.List<FileToken> listFileInfoFromCollection(java.lang.String collectionUuid)
-
downloadSingleFileUsingKeepWeb
public java.io.File downloadSingleFileUsingKeepWeb(java.lang.String filePathName, java.lang.String collectionUuid, java.lang.String pathToDownloadFolder)
-
downloadFileWithResume
public java.io.File downloadFileWithResume(java.lang.String collectionUuid, java.lang.String fileName, java.lang.String pathToDownloadFolder, long start, java.lang.Long end) throws java.io.IOException
- Throws:
java.io.IOException
-
downloadFilesFromCollectionUsingKeepWeb
public java.util.List<java.io.File> downloadFilesFromCollectionUsingKeepWeb(java.lang.String collectionUuid, java.lang.String pathToDownloadFolder)
-
downloadFilesFromCollection
public java.util.List<java.io.File> downloadFilesFromCollection(java.lang.String collectionUuid, java.lang.String pathToDownloadFolder)
-
-