Skip to content
Permalink
Browse files
JCLOUDS-457: Implementing getBlob without options
The missing getBlob implementation has been added.
  • Loading branch information
rcoedo authored and demobox committed Aug 5, 2014
1 parent e80b4f8 commit 0b78374a0cfadde7baa1c5eec1a657cef22adc5d
Showing 1 changed file with 16 additions and 1 deletion.
@@ -296,7 +296,7 @@ private static ArchiveRetrievalJobRequest buildArchiveRetrievalRequest(String ke
* container name
* @param key
* blob name
* @return null if the blob doesn't exist or the archive retrieval fails, the blob otherwise
* @return The blob to retrieve, or null if the blob doesn't exist or the archive retrieval fails
*/
@Override
public Blob getBlob(String container, String key, GetOptions getOptions) {
@@ -317,6 +317,21 @@ public Blob getBlob(String container, String key, GetOptions getOptions) {
return null;
}

/**
* Retrieves the blob using default options
* This operation will take several hours.
*
* @param container
* container name
* @param key
* blob name
* @return The blob to retrieve, or null if the blob doesn't exist or the archive retrieval fails
*/
@Override
public Blob getBlob(String container, String key) {
return getBlob(container, key, null);
}

/**
* Deletes the blob.
*

0 comments on commit 0b78374

Please sign in to comment.