public class MultipleFileUploadImpl extends MultipleFileTransfer implements MultipleFileUpload
Transfer.TransferState
subTransfers
monitor, progressListenerChain, progressListenerChainCallbackExecutor, state, stateChangeListeners
构造器和说明 |
---|
MultipleFileUploadImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
String keyPrefix,
String bucketName,
Collection<? extends Upload> subTransfers) |
MultipleFileUploadImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
String keyPrefix,
String bucketName,
Collection<? extends Upload> subTransfers)
|
限定符和类型 | 方法和说明 |
---|---|
String |
getBucketName()
Returns the name of the bucket to which files are uploaded.
|
String |
getKeyPrefix()
Returns the key prefix of the virtual directory being uploaded to.
|
void |
waitForCompletion()
Waits for this transfer to complete.
|
collateFinalState, setState
addProgressListener, addProgressListener, addStateChangeListener, fireProgressEvent, getDescription, getMonitor, getProgress, getState, isDone, notifyStateChangeListeners, removeProgressListener, removeProgressListener, removeStateChangeListener, rethrowExecutionException, setMonitor, unwrapExecutionException, waitForException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForException
public MultipleFileUploadImpl(String description, TransferProgress transferProgress, ProgressListenerChain progressListenerChain, String keyPrefix, String bucketName, Collection<? extends Upload> subTransfers)
@Deprecated public MultipleFileUploadImpl(String description, TransferProgress transferProgress, ProgressListenerChain progressListenerChain, String keyPrefix, String bucketName, Collection<? extends Upload> subTransfers)
public String getKeyPrefix()
getKeyPrefix
在接口中 MultipleFileUpload
public String getBucketName()
getBucketName
在接口中 MultipleFileUpload
public void waitForCompletion() throws SCSClientException, SCSServiceException, InterruptedException
waitForCompletion
在接口中 Transfer
waitForCompletion
在类中 AbstractTransfer
SCSClientException
- If any errors were encountered in the client while making the
request or handling the response.SCSServiceException
- If any errors occurred in Amazon S3 while processing the
request.InterruptedException
- If this thread is interrupted while waiting for the transfer
to complete.Copyright © 2016. All rights reserved.