| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.internal | |
| com.qcloud.cos.internal.crypto | |
| com.qcloud.cos.model | |
| com.qcloud.cos.transfer | |
| com.qcloud.cos.utils |
| 限定符和类型 | 方法和说明 |
|---|---|
COSObject |
COSEncryptionClient.getObject(GetObjectRequest req) |
COSObject |
COSClient.getObject(GetObjectRequest getObjectRequest) |
COSObject |
COS.getObject(GetObjectRequest getObjectRequest)
Gets the object stored in under the specified bucket and key.
|
COSObject |
COSClient.getObject(String bucketName,
String key) |
COSObject |
COS.getObject(String bucketName,
String key)
Gets the object stored in under the specified bucket and key.
|
| 限定符和类型 | 方法和说明 |
|---|---|
COSObject |
COSDirectSpi.getObject(GetObjectRequest req) |
abstract COSObject |
COSDirect.getObject(GetObjectRequest req) |
| 限定符和类型 | 方法和说明 |
|---|---|
CosServiceResponse<COSObject> |
COSObjectResponseHandler.handle(CosHttpResponse response) |
| 限定符和类型 | 方法和说明 |
|---|---|
COSObject |
CryptoModuleDispatcher.getObjectSecurely(GetObjectRequest req) |
COSObject |
COSCryptoModuleAE.getObjectSecurely(GetObjectRequest req) |
abstract COSObject |
COSCryptoModule.getObjectSecurely(GetObjectRequest req) |
| 限定符和类型 | 方法和说明 |
|---|---|
PutObjectRequest |
PutInstructionFileRequest.createPutObjectRequest(COSObject cosObject)
Creates and returns a
PutObjectRequest for the instruction file with the specified
suffix. |
| 限定符和类型 | 方法和说明 |
|---|---|
COSObject |
DownloadImpl.getCosObject() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DownloadImpl.setCosObject(COSObject cosObject) |
| 构造器和说明 |
|---|
DownloadImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
COSObject cosObject,
TransferStateChangeListener listener,
GetObjectRequest getObjectRequest,
File file) |
| 限定符和类型 | 方法和说明 |
|---|---|
COSObject |
ServiceUtils.RetryableCOSDownloadTask.getCOSObjectStream()
User defines how to get the COSObject from COS for this RetryableCOSDownloadTask.
|
static COSObject |
ServiceUtils.retryableDownloadCOSObjectToFile(File file,
ServiceUtils.RetryableCOSDownloadTask retryableCOSDownloadTask,
boolean appendData)
Gets an object stored in COS and downloads it into the specified file.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
ServiceUtils.downloadObjectToFile(COSObject cosObject,
File destinationFile,
boolean performIntegrityCheck,
boolean appendData)
Downloads an COSObject, as returned from
COSClient#getObject(com.qcloud.cos.model.GetObjectRequest),
to the specified file. |
static void |
ServiceUtils.downloadToFile(COSObject cosObject,
File dstfile,
boolean performIntegrityCheck,
boolean appendData,
long expectedFileLength)
Same as
ServiceUtils.downloadObjectToFile(COSObject, File, boolean, boolean)
but has an additional expected file length parameter for integrity
checking purposes. |
Copyright © 2020. All rights reserved.