All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netease.cloud.services.nos.transfer.Download Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.netease.cloud.services.nos.transfer;

import java.io.IOException;

import com.netease.cloud.services.nos.model.ObjectMetadata;

/**
 * Represents an asynchronous download from Nos.
 * 

* See {@link TransferManager} for more information about creating transfers. *

* */ public interface Download extends Transfer { /** * Returns the ObjectMetadata for the object being downloaded. * * @return The ObjectMetadata for the object being downloaded. */ public ObjectMetadata getObjectMetadata(); /** * The name of the bucket where the object is being downloaded from. * * @return The name of the bucket where the object is being downloaded from. */ public String getBucketName(); /** * The key under which this object was stored in Nos. * * @return The key under which this object was stored in Nos. */ public String getKey(); /** * Cancels this download. * * @throws IOException */ public void abort() throws IOException; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy