Esempio n. 1
0
 public void updateObjectMeta(S3Object obj) throws IOException {
   awsAuthConnection.copy(name, obj.getKey(), name, obj.getKey(), obj.getMeta(), null);
 }
Esempio n. 2
0
 public void saveObject(S3Object obj) throws IOException {
   obj.setBucket(this);
   com.amazon.s3.S3Object object = new com.amazon.s3.S3Object(obj.getData(), obj.getMeta());
   Response response = awsAuthConnection.put(name, obj.getKey(), object, null);
   response.assertSuccess();
 }