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.Loggerlogger
-
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 booleancreateBucket(String bucketName)booleandeleteImage(String bucketName, String path)BufferedImagegetImage(String bucketName, String path)booleanputImage(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
-
-