public class Storage extends Object
| Constructor and Description |
|---|
Storage() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAwsAccessKey()
Returns the used AWS access key.
|
String |
getAwsSecretKey()
Returns the AWS secret key used to verify hashes.
|
protected File |
getBaseDir() |
String |
getBasePath()
Returns the base directory as string.
|
Bucket |
getBucket(String bucket)
Returns a bucket with the given name
|
List<Bucket> |
getBuckets()
Enumerates all known buckets.
|
boolean |
isAutocreateBuckets()
Determines if buckets should be automatically created.
|
protected static final Log LOG
protected File getBaseDir()
public String getBasePath()
public List<Bucket> getBuckets()
public Bucket getBucket(String bucket)
bucket - the name of the bucket to fetch. Must not contain .. or / or \public String getAwsAccessKey()
public String getAwsSecretKey()
public boolean isAutocreateBuckets()
Copyright © 2016. All rights reserved.