public class S3Operator extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
S3Operator(String regionName,
String accessKey,
String secretKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createBucket(String bucketName) |
boolean |
deleteImage(String bucketName,
String path) |
BufferedImage |
getImage(String bucketName,
String path) |
boolean |
putImage(String bucketName,
String path,
BufferedImage rasterImage) |
public boolean createBucket(String bucketName)
public boolean putImage(String bucketName, String path, BufferedImage rasterImage) throws IOException
IOExceptionpublic BufferedImage getImage(String bucketName, String path) throws Exception
ExceptionCopyright © 2023 The Apache Software Foundation. All rights reserved.