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.

Author:
Adrian Cole

Field Summary
static Pattern BUCKET_NAME_PATTERN
           
 
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 validateBucketName(String bucketName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUCKET_NAME_PATTERN

public static final Pattern BUCKET_NAME_PATTERN
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.



Copyright © 2009-2011 jclouds. All Rights Reserved.