public class MultipleFileDownloadImpl extends MultipleFileTransfer<Download> implements MultipleFileDownload
Transfer.TransferState| Constructor and Description | 
|---|
| MultipleFileDownloadImpl(String description,
                        TransferProgress transferProgress,
                        ProgressListenerChain progressListenerChain,
                        String keyPrefix,
                        String bucketName,
                        Collection<? extends Download> downloads) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | abort()Aborts all outstanding downloads. | 
| String | getBucketName()Returns the name of the bucket from which files are downloaded. | 
| String | getKeyPrefix()Returns the key prefix of the virtual directory being downloaded. | 
| void | waitForCompletion()Waits for this transfer to complete. | 
collateFinalState, setStateaddProgressListener, addProgressListener, addStateChangeListener, getDescription, getMonitor, getProgress, getState, isDone, notifyStateChangeListeners, removeProgressListener, removeProgressListener, removeStateChangeListener, setMonitor, waitForExceptionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForExceptionpublic MultipleFileDownloadImpl(String description, TransferProgress transferProgress, ProgressListenerChain progressListenerChain, String keyPrefix, String bucketName, Collection<? extends Download> downloads)
public String getKeyPrefix()
getKeyPrefix in interface MultipleFileDownloadpublic String getBucketName()
getBucketName in interface MultipleFileDownloadpublic void waitForCompletion()
                       throws AmazonClientException,
                              AmazonServiceException,
                              InterruptedException
waitForCompletion in interface TransferwaitForCompletion in class AbstractTransferAmazonClientException - If any errors were encountered in the client while making the
             request or handling the response.AmazonServiceException - If any errors occurred in Amazon S3 while processing the
             request.InterruptedException - If this thread is interrupted while waiting for the transfer
             to complete.public void abort()
           throws IOException
abort in interface MultipleFileDownloadIOException