From c08cbc89f4e14e183eec53cd8cdc42e33159f47c Mon Sep 17 00:00:00 2001 From: David Ribeiro Alves Date: Mon, 5 Mar 2012 16:45:24 +0000 Subject: [PATCH] removed dangling file --- .../blobstore/domain/UploadRemoteBlob.java | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 blobstore/src/main/java/org/jclouds/blobstore/domain/UploadRemoteBlob.java diff --git a/blobstore/src/main/java/org/jclouds/blobstore/domain/UploadRemoteBlob.java b/blobstore/src/main/java/org/jclouds/blobstore/domain/UploadRemoteBlob.java deleted file mode 100644 index 2663d4198d..0000000000 --- a/blobstore/src/main/java/org/jclouds/blobstore/domain/UploadRemoteBlob.java +++ /dev/null @@ -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; - } - -}