Package | Description |
---|---|
com.obs.services | |
com.obs.services.model | |
com.obs.services.model.fs |
Modifier and Type | Method and Description |
---|---|
PutObjectResult |
ObsClient.putObject(String bucketName,
String objectKey,
File file,
ObjectMetadata metadata) |
PutObjectResult |
IObsClient.putObject(String bucketName,
String objectKey,
File file,
ObjectMetadata metadata)
Upload an object.
|
PutObjectResult |
ObsClient.putObject(String bucketName,
String objectKey,
InputStream input,
ObjectMetadata metadata) |
PutObjectResult |
IObsClient.putObject(String bucketName,
String objectKey,
InputStream input,
ObjectMetadata metadata)
Upload an object.
|
Modifier and Type | Field and Description |
---|---|
protected ObjectMetadata |
PutObjectRequest.metadata |
protected ObjectMetadata |
S3Object.metadata
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ObjectMetadata |
ObsObject.getMetadata()
Obtain the object properties, including "content-type", "content-length", and customized metadata.
|
ObjectMetadata |
PutObjectRequest.getMetadata()
Obtain object properties, including "content-type", "content-length", "content-md5", and customized metadata.
|
ObjectMetadata |
S3Object.getMetadata()
Deprecated.
|
ObjectMetadata |
InitiateMultipartUploadRequest.getMetadata()
Set object properties, including customized metadata.
|
ObjectMetadata |
CopyObjectRequest.getNewObjectMetadata()
Obtain the properties, including customized metadata, of the destination object.
|
ObjectMetadata |
UploadFileRequest.getObjectMetadata()
Obtain object properties.
|
ObjectMetadata |
DownloadFileResult.getObjectMetadata()
Obtain object properties.
|
Modifier and Type | Method and Description |
---|---|
void |
ObsObject.setMetadata(ObjectMetadata metadata)
Set the object properties, including "content-type", "content-length", and customized metadata.
|
void |
PutObjectRequest.setMetadata(ObjectMetadata metadata)
Set the object properties, including "content-type", "content-length", and customized metadata.
|
void |
S3Object.setMetadata(ObjectMetadata metadata)
Deprecated.
|
void |
InitiateMultipartUploadRequest.setMetadata(ObjectMetadata metadata)
Obtain object properties, including customized metadata.
|
void |
CopyObjectRequest.setNewObjectMetadata(ObjectMetadata newObjectMetadata)
Set the properties, including customized metadata, of the destination object.
|
void |
UploadFileRequest.setObjectMetadata(ObjectMetadata objectMetadata)
Set object properties.
|
void |
DownloadFileResult.setObjectMetadata(ObjectMetadata objectMetadata)
Set object properties.
|
Modifier and Type | Class and Description |
---|---|
class |
ObsFSAttribute
File or folder properties
|
Modifier and Type | Method and Description |
---|---|
ObsFSFile |
ObsFSBucket.newFile(String fileName,
File file,
ObjectMetadata metadata)
Create a file.
|
ObsFSFile |
ObsFSBucket.newFile(String fileName,
InputStream input,
ObjectMetadata metadata)
Create a file.
|
Copyright © 2019. All rights reserved.