## 类的使用
com.obs.services.model.ObsObject

- 使用ObsObject的程序包
  程序包 | 说明
  --- | ---
  com.obs.services |
  com.obs.services.model |
  com.obs.services.model.fs |

- - ### com.obs.services中ObsObject的使用

    返回ObsObject的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `ObsObject` | ObsClient.`getObject(GetObjectRequest request)`
    `ObsObject` | IObsClient.`getObject(GetObjectRequest request)` Download an object.
    `ObsObject` | SecretFlexibleObsClient.`getObject(GetObjectRequest getObjectRequest, String accessKey, String secretKey)`
    `ObsObject` | SecretFlexibleObsClient.`getObject(GetObjectRequest getObjectRequest, String accessKey, String secretKey, String securityToken)`
    `ObsObject` | ObsClient.`getObject(String bucketName, String objectKey)`
    `ObsObject` | IObsClient.`getObject(String bucketName, String objectKey)` Download an object.
    `ObsObject` | ObsClient.`getObject(String bucketName, String objectKey, String versionId)`
    `ObsObject` | IObsClient.`getObject(String bucketName, String objectKey, String versionId)` Download an object.

  - ### com.obs.services.model中ObsObject的使用

    返回变量类型为ObsObject的类型的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<ObsObject>` | ObjectListing.`getExtenedCommonPrefixes()` Obtain the list of prefixes to the names of grouped objects.
    `List<ObsObject>` | ObjectListing.`getObjects()` Obtain the list of objects in the bucket.

    类型变量类型为ObsObject的com.obs.services.model中的构造器参数
    构造器和说明
    `ObjectListing(List<ObsObject> objectSummaries, List<String> commonPrefixes, String bucketName, boolean truncated, String prefix, String marker, int maxKeys, String delimiter, String nextMarker, String location)`
    `ObjectListing(List<ObsObject> objectSummaries, List<String> commonPrefixes, String bucketName, boolean truncated, String prefix, String marker, int maxKeys, String delimiter, String nextMarker, String location, List<ObsObject> extenedCommonPrefixes)`
    `ObjectListing(List<ObsObject> objectSummaries, List<String> commonPrefixes, String bucketName, boolean truncated, String prefix, String marker, int maxKeys, String delimiter, String nextMarker, String location, List<ObsObject> extenedCommonPrefixes)`

  - ### com.obs.services.model.fs中ObsObject的使用

    com.obs.services.model.fs中ObsObject的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ReadFileResult` Response to a request for reading a file

Copyright © 2021. All rights reserved.