Package org.syncany.operations
Class Downloader
- java.lang.Object
-
- org.syncany.operations.Downloader
-
public class Downloader extends java.lang.Object
The downloader uses aTransferManager
to download a given set of multichunks, decrypt them and store them in the local cache folder.
-
-
Constructor Summary
Constructors Constructor Description Downloader(Config config, TransferManager transferManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
downloadAndDecryptMultiChunks(java.util.Set<MultiChunkEntry.MultiChunkId> unknownMultiChunkIds)
Downloads the given multichunks from the remote storage and decrypts them to the local cache folder.
-
-
-
Constructor Detail
-
Downloader
public Downloader(Config config, TransferManager transferManager)
-
-
Method Detail
-
downloadAndDecryptMultiChunks
public void downloadAndDecryptMultiChunks(java.util.Set<MultiChunkEntry.MultiChunkId> unknownMultiChunkIds) throws StorageException, java.io.IOException
Downloads the given multichunks from the remote storage and decrypts them to the local cache folder.- Throws:
StorageException
java.io.IOException
-
-