public class MultipleFileUploadImpl extends MultipleFileTransfer<Upload> implements MultipleFileUpload
Transfer.TransferStatesubTransfersmonitor, progressListenerChain, state, stateChangeListeners| Constructor and Description |
|---|
MultipleFileUploadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
java.lang.String keyPrefix,
java.lang.String bucketName,
java.util.Collection<? extends Upload> subTransfers)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBucketName()
Deprecated.
Returns the name of the bucket to which files are uploaded.
|
java.lang.String |
getKeyPrefix()
Deprecated.
Returns the key prefix of the virtual directory being uploaded to.
|
java.util.Collection<? extends Upload> |
getSubTransfers()
Deprecated.
Returns a collection of sub transfers associated with the multi file upload.
|
void |
waitForCompletion()
Deprecated.
Waits for this transfer to complete.
|
collateFinalState, setStateaddProgressListener, addProgressListener, addStateChangeListener, fireProgressEvent, getDescription, getMonitor, getProgress, getState, isDone, notifyStateChangeListeners, removeProgressListener, removeProgressListener, removeStateChangeListener, rethrowExecutionException, setMonitor, unwrapExecutionException, waitForExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForExceptionpublic MultipleFileUploadImpl(java.lang.String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
java.lang.String keyPrefix,
java.lang.String bucketName,
java.util.Collection<? extends Upload> subTransfers)
public java.lang.String getKeyPrefix()
getKeyPrefix in interface MultipleFileUploadpublic java.lang.String getBucketName()
getBucketName in interface MultipleFileUploadpublic void waitForCompletion()
throws AmazonClientException,
AmazonServiceException,
java.lang.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.java.lang.InterruptedException - If this thread is interrupted while waiting for the transfer
to complete.public java.util.Collection<? extends Upload> getSubTransfers()
MultipleFileUploadgetSubTransfers in interface MultipleFileUpload