public class S3Utils extends Object
Modifier and Type | Field and Description |
---|---|
static Pattern |
BUCKET_NAME_PATTERN |
Constructor and Description |
---|
S3Utils() |
Modifier and Type | Method and Description |
---|---|
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) |
public static final Pattern BUCKET_NAME_PATTERN
public static boolean deleteAndVerifyContainerGone(S3Client sync, String container)
S3Client.deleteBucketIfEmpty(java.lang.String)
followed by
S3Client.bucketExists(java.lang.String)
until it is true.Copyright © 2009-2012 jclouds. All Rights Reserved.