Package org.apache.sedona.viz.utils
Class S3Operator
- java.lang.Object
-
- org.apache.sedona.viz.utils.S3Operator
-
public class S3Operator extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.log4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description S3Operator(String regionName, String accessKey, String secretKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
createBucket
public boolean createBucket(String bucketName)
-
putImage
public boolean putImage(String bucketName, String path, BufferedImage rasterImage) throws IOException
- Throws:
IOException
-
getImage
public BufferedImage getImage(String bucketName, String path) throws Exception
- Throws:
Exception
-
-