类 ObjectListing

java.lang.Object
com.obs.services.internal.service.InternalHeaderResponse
com.obs.services.model.HeaderResponse
com.obs.services.model.ObjectListing

public class ObjectListing extends HeaderResponse
Response to a request for listing objects in a bucket
  • 构造器详细资料

  • 方法详细资料

    • getNextMarker

      public String getNextMarker()
      Obtain the start position for next listing.
      返回:
      Start position for next listing
    • getObjects

      public List<ObsObject> getObjects()
      Obtain the list of objects in the bucket.
      返回:
      List of objects in the bucket
    • getObjectSummaries

      @Deprecated public List<S3Object> getObjectSummaries()
      已过时。
    • getCommonPrefixes

      public List<String> getCommonPrefixes()
      Obtain the list of prefixes to the names of grouped objects.
      返回:
      List of prefixes to the names of grouped objects
    • getExtendCommonPrefixes

      public List<ObsObject> getExtendCommonPrefixes()
      Obtain the list of prefixes to the names of grouped objects.
      返回:
      List of prefixes to the names of grouped objects
    • getExtenedCommonPrefixes

      @Deprecated public List<ObsObject> getExtenedCommonPrefixes()
      已过时。
    • getBucketName

      public String getBucketName()
      Obtain the bucket name.
      返回:
      Bucket name
    • isTruncated

      public boolean isTruncated()
      Check whether the query result list is truncated. Value "true" indicates that the results are incomplete while value "false" indicates that the results are complete.
      返回:
      Truncation identifier
    • getPrefix

      public String getPrefix()
      Obtain the object name prefix used for filtering objects to be listed.
      返回:
      Object name prefix used for listing versioning objects
    • getMarker

      public String getMarker()
      Obtain the start position for listing objects.
      返回:
      Start position for listing objects
    • getMaxKeys

      public int getMaxKeys()
      Obtain the maximum number of objects to be listed.
      返回:
      Maximum number of objects to be listed
    • getDelimiter

      public String getDelimiter()
      Obtain the character for grouping object names.
      返回:
      Character for grouping object names
    • getLocation

      public String getLocation()
      Obtain the bucket location.
      返回:
      Bucket location
    • toString

      public String toString()
      覆盖:
      toString 在类中 HeaderResponse