com.netease.cloud.services.nos.transfer.internal
public class MultipleFileUploadImpl extends MultipleFileTransfer implements MultipleFileUpload
Transfer.TransferState
subTransfers
monitor, progressListenerChain, stateChangeListeners
Constructor and Description |
---|
MultipleFileUploadImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
String keyPrefix,
String bucketName,
Collection<? extends Upload> subTransfers) |
Modifier and Type | Method and Description |
---|---|
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.
|
collateFinalState
addProgressListener, addStateChangeListener, getDescription, getMonitor, getProgress, getState, isDone, removeProgressListener, removeStateChangeListener, rethrowExecutionException, setMonitor, setState, unwrapExecutionException, waitForCompletion, waitForException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, waitForCompletion, waitForException
public MultipleFileUploadImpl(String description, TransferProgress transferProgress, ProgressListenerChain progressListenerChain, String keyPrefix, String bucketName, Collection<? extends Upload> subTransfers)
public String getKeyPrefix()
getKeyPrefix
in interface MultipleFileUpload
public String getBucketName()
getBucketName
in interface MultipleFileUpload
Copyright © 2017. All Rights Reserved.