public interface IAmazonWSClient
| Modifier and Type | Method and Description |
|---|---|
void |
copy(String srcKey,
String destKey)
Copy a file/object within S3.
|
void |
delete(String key)
Delete a file/object from S3.
|
String |
deploy(String contentType,
InputStream content,
String destKey)
Push a file/object onto S3.
|
String |
move(String srcKey,
String destKey)
Move a file/object within S3.
|
InputStream |
read(String srcKey)
Return an input stream connected to a file/object on S3.
|
String deploy(String contentType, InputStream content, String destKey) throws AmazonWSException
contentType - - The content typecontent - - The contentdestKey - - the destination keyAmazonWSException - if deploying on amazon is problematicvoid copy(String srcKey, String destKey) throws AmazonWSException
srcKey - - the source keydestKey - - the destination keyAmazonWSException - if deploying on amazon is problematicString move(String srcKey, String destKey) throws AmazonWSException
srcKey - - the source keydestKey - - the destination keyAmazonWSException - if deploying on amazon is problematicvoid delete(String key) throws AmazonWSException
key - - The key to deleteAmazonWSException - if the content does not existInputStream read(String srcKey) throws AmazonWSException
srcKey - - the source key content to readAmazonWSException - if the content does not existCopyright © 2016. All rights reserved.