public class AmazonS3DFSConnection extends Object implements DFSConnection
| Constructor and Description |
|---|
AmazonS3DFSConnection(AmazonS3ConnectionProperties properties) |
AmazonS3DFSConnection(URL url,
AmazonS3AccessKey accessKey,
AmazonS3SecretKey secretKey,
AmazonS3Region anAmazonS3Region,
AmazonS3RootBucketName anAmazonS3RootBucketName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blobExists(BucketPath abucketPath) |
void |
deleteDatabase() |
Payload |
getBlob(BucketPath bucketPath) |
PayloadStream |
getBlobStream(BucketPath abucketPath) |
ConnectionProperties |
getConnectionProperties() |
List<BucketPath> |
list(BucketDirectory abucketDirectory,
ListRecursiveFlag listRecursiveFlag) |
void |
putBlob(BucketPath bucketPath,
Payload payload) |
void |
putBlobStream(BucketPath bucketPath,
PayloadStream payloadStream) |
void |
removeBlob(BucketPath abucketPath) |
void |
removeBlobFolder(BucketDirectory bucketDirectory) |
void |
showDatabase() |
public AmazonS3DFSConnection(AmazonS3ConnectionProperties properties)
public AmazonS3DFSConnection(URL url, AmazonS3AccessKey accessKey, AmazonS3SecretKey secretKey, AmazonS3Region anAmazonS3Region, AmazonS3RootBucketName anAmazonS3RootBucketName)
public ConnectionProperties getConnectionProperties()
getConnectionProperties in interface DFSConnectionpublic void putBlob(BucketPath bucketPath, Payload payload)
putBlob in interface DFSConnectionpublic Payload getBlob(BucketPath bucketPath)
getBlob in interface DFSConnectionpublic void putBlobStream(BucketPath bucketPath, PayloadStream payloadStream)
putBlobStream in interface DFSConnectionpublic PayloadStream getBlobStream(BucketPath abucketPath)
getBlobStream in interface DFSConnectionpublic boolean blobExists(BucketPath abucketPath)
blobExists in interface DFSConnectionpublic void removeBlob(BucketPath abucketPath)
removeBlob in interface DFSConnectionpublic void removeBlobFolder(BucketDirectory bucketDirectory)
removeBlobFolder in interface DFSConnectionpublic List<BucketPath> list(BucketDirectory abucketDirectory, ListRecursiveFlag listRecursiveFlag)
list in interface DFSConnectionpublic void deleteDatabase()
deleteDatabase in interface DFSConnectionpublic void showDatabase()
Copyright © 2019. All Rights Reserved.