org.jclouds.s3.util
Class S3Utils

java.lang.Object
  extended by org.jclouds.s3.util.S3Utils

public class S3Utils
extends Object

Encryption, Hashing, and IO Utilities needed to sign and verify S3 requests and responses.


Constructor Summary
S3Utils()
           
 
Method Summary
static boolean deleteAndVerifyContainerGone(S3Client sync, String container)
          This implementation invokes S3Client.deleteBucketIfEmpty(java.lang.String) followed by S3Client.bucketExists(java.lang.String) until it is true.
static String getBucketName(org.jclouds.http.HttpRequest req)
           
static String validateBucketName(String bucketName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S3Utils

public S3Utils()
Method Detail

validateBucketName

public static String validateBucketName(String bucketName)

deleteAndVerifyContainerGone

public static boolean deleteAndVerifyContainerGone(S3Client sync,
                                                   String container)
This implementation invokes S3Client.deleteBucketIfEmpty(java.lang.String) followed by S3Client.bucketExists(java.lang.String) until it is true.


getBucketName

public static String getBucketName(org.jclouds.http.HttpRequest req)


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