removed dangling file

This commit is contained in:
David Ribeiro Alves 2012-03-05 16:45:24 +00:00
parent cf02e7dcaf
commit c08cbc89f4
1 changed files with 0 additions and 33 deletions

View File

@ -1,33 +0,0 @@
package org.jclouds.blobstore.domain;
import org.jclouds.blobstore.BlobStoreContext;
/**
* Prepares and uploads a file to a BlobStore.
*
* @author dralves
*
*/
public class UploadRemoteBlob {
private String remoteDirectory;
private String container;
private BlobStoreContext ctx;
private String fileName;
public UploadRemoteBlob(BlobStoreContext ctx, String container,
String remoteDirectory, String fileName) {
this.ctx = ctx;
this.container = container;
this.remoteDirectory = remoteDirectory;
this.fileName = fileName;
}
public Blob buildBlob() {
Blob blob = ctx.getAsyncBlobStore().blobBuilder(this.fileName).forSigning()
.contentLength(0).contentType(container).build();
return blob;
}
}