org.jclouds.s3
Class S3

java.lang.Object
  extended by org.jclouds.s3.S3

public class S3
extends Object

Utilities for using S3.


Constructor Summary
S3()
           
 
Method Summary
static org.jclouds.collect.PagedIterable<ObjectMetadata> listBucket(S3Client s3Client, String bucket, ListBucketOptions options)
          List all objects in a bucket, in a way that manages pagination, based on the criteria in the ListBucketOptions passed in.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S3

public S3()
Method Detail

listBucket

public static org.jclouds.collect.PagedIterable<ObjectMetadata> listBucket(S3Client s3Client,
                                                                           String bucket,
                                                                           ListBucketOptions options)
List all objects in a bucket, in a way that manages pagination, based on the criteria in the ListBucketOptions passed in. ex.
 continueAfterEachPage = listBucket(s3Client, bucket, options).concat();

 

Parameters:
s3Client - the S3Client to use for the requests
bucket - the bucket to list
options - the ListBucketOptions describing the listBucket requests
Returns:
iterable of objects fitting the criteria
See Also:
PagedIterable


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.