public interface Download extends Transfer
See TransferManager
for more information about creating transfers.
TransferManager#download(com.sina.scs.model.GetObjectRequest);
Transfer.TransferState
限定符和类型 | 方法和说明 |
---|---|
void |
abort()
Cancels this download.
|
String |
getBucketName()
The name of the bucket where the object is being downloaded from.
|
String |
getKey()
The key under which this object was stored in Amazon S3.
|
ObjectMetadata |
getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForException
ObjectMetadata getObjectMetadata()
String getBucketName()
String getKey()
void abort() throws IOException
IOException
Copyright © 2016. All rights reserved.