org.jclouds.blobstore.internal
Class BlobMapImpl
java.lang.Object
org.jclouds.blobstore.internal.BaseBlobMap<Blob>
org.jclouds.blobstore.internal.BlobMapImpl
- All Implemented Interfaces:
- Map<String,Blob>, BlobMap, ListableMap<String,Blob>
public class BlobMapImpl
- extends BaseBlobMap<Blob>
- implements BlobMap
Map representation of a live connection to a Blob Service.
- Author:
- Adrian Cole
- See Also:
BlobStore,
BaseBlobMap
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class org.jclouds.blobstore.internal.BaseBlobMap |
clear, containsKey, containsValue, entrySet, getAllBlobs, isEmpty, keySet, list, size, stripPrefix, toString |
BlobMapImpl
@Inject
public BlobMapImpl(BlobStore blobstore,
GetBlobsInListStrategy getAllBlobs,
ContainsValueInListStrategy containsValueStrategy,
PutBlobsStrategy putBlobsStrategy,
ListContainerAndRecurseThroughFolders listStrategy,
String containerName,
ListContainerOptions options,
javax.inject.Provider<BlobBuilder> blobBuilders)
get
public Blob get(Object key)
- Specified by:
get in interface Map<String,Blob>
put
public Blob put(String key,
Blob value)
- Specified by:
put in interface Map<String,Blob>
putAll
public void putAll(Map<? extends String,? extends Blob> map)
- Specified by:
putAll in interface Map<String,Blob>
remove
public Blob remove(Object key)
- Specified by:
remove in interface Map<String,Blob>
values
public Collection<Blob> values()
- Specified by:
values in interface Map<String,Blob>
newBlob
public Blob newBlob(String name)
- Specified by:
newBlob in interface BlobMap
- See Also:
BlobMap.blobBuilder()
blobBuilder
public BlobBuilder blobBuilder()
- Specified by:
blobBuilder in interface BlobMap
- Returns:
- builder for creating new
Blobs
Copyright © 2009-2011 jclouds. All Rights Reserved.