public class MultipleFileDownloadImpl extends MultipleFileTransfer implements MultipleFileDownload
Transfer.TransferStatesubTransfersmonitor, progressListenerChain, stateChangeListeners| コンストラクタと説明 |
|---|
MultipleFileDownloadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
java.lang.String keyPrefix,
java.lang.String bucketName,
java.util.Collection<? extends Download> downloads) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
abort()
Aborts all outstanding downloads.
|
java.lang.String |
getBucketName()
Returns the name of the bucket from which files are downloaded.
|
java.lang.String |
getKeyPrefix()
Returns the key prefix of the virtual directory being downloaded.
|
void |
waitForCompletion()
Waits for this transfer to complete.
|
collateFinalStateaddProgressListener, addStateChangeListener, getDescription, getMonitor, getProgress, getState, isDone, removeProgressListener, removeStateChangeListener, rethrowExecutionException, setMonitor, setState, unwrapExecutionException, waitForExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, waitForExceptionpublic MultipleFileDownloadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
java.lang.String keyPrefix,
java.lang.String bucketName,
java.util.Collection<? extends Download> downloads)
public java.lang.String getKeyPrefix()
getKeyPrefix インタフェース内 MultipleFileDownloadpublic java.lang.String getBucketName()
getBucketName インタフェース内 MultipleFileDownloadpublic void waitForCompletion()
throws AmazonClientException,
AmazonServiceException,
java.lang.InterruptedException
waitForCompletion インタフェース内 TransferwaitForCompletion クラス内 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.java.lang.InterruptedException - If this thread is interrupted while waiting for the transfer
to complete.public void abort()
throws java.io.IOException
abort インタフェース内 MultipleFileDownloadjava.io.IOException