com.netease.cloud.services.nos.transfer
public interface Download extends Transfer
See TransferManager
for more information about creating transfers.
Transfer.TransferState
Modifier and Type | Method and Description |
---|---|
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 Nos.
|
ObjectMetadata |
getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded.
|
addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, waitForCompletion, waitForException
ObjectMetadata getObjectMetadata()
String getBucketName()
String getKey()
void abort() throws IOException
IOException
Copyright © 2017. All Rights Reserved.