public interface Upload extends Transfer
See TransferManager for more information about creating transfers.
TransferManager.upload(String, String, java.io.File),
TransferManager#upload(com.sina.scs.model.PutObjectRequest)Transfer.TransferState| 限定符和类型 | 方法和说明 |
|---|---|
UploadResult |
waitForUploadResult()
Waits for this upload to complete and returns the result of this
upload.
|
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForExceptionUploadResult waitForUploadResult() throws SCSClientException, SCSServiceException, InterruptedException
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 upload to
complete.Copyright © 2016. All rights reserved.