org.jclouds.blobstore.internal
Class InputStreamMapImpl
java.lang.Object
org.jclouds.blobstore.internal.BaseBlobMap<InputStream>
org.jclouds.blobstore.internal.InputStreamMapImpl
- All Implemented Interfaces:
- Map<String,InputStream>, InputStreamMap, ListableMap<String,InputStream>
public class InputStreamMapImpl
- extends BaseBlobMap<InputStream>
- implements InputStreamMap
Map representation of a live connection to a BlobStore. All put operations will result in ETag
calculation. If this is not desired, use BlobMap
instead.
- Author:
- Adrian Cole
- See Also:
BlobStore
,
InputStreamMap
,
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 |
crypto
protected final Crypto crypto
InputStreamMapImpl
@Inject
public InputStreamMapImpl(BlobStore connection,
javax.inject.Provider<BlobBuilder> blobBuilders,
GetBlobsInListStrategy getAllBlobs,
ListContainerAndRecurseThroughFolders listStrategy,
ContainsValueInListStrategy containsValueStrategy,
PutBlobsStrategy putBlobsStrategy,
String containerName,
ListContainerOptions options,
Crypto crypto)
get
public InputStream get(Object o)
- Specified by:
get
in interface Map<String,InputStream>
remove
public InputStream remove(Object o)
- Specified by:
remove
in interface Map<String,InputStream>
values
public Collection<InputStream> values()
- Specified by:
values
in interface Map<String,InputStream>
putAll
public void putAll(Map<? extends String,? extends InputStream> map)
- Specified by:
putAll
in interface Map<String,InputStream>
putAllBytes
public void putAllBytes(Map<? extends String,? extends byte[]> map)
- Specified by:
putAllBytes
in interface InputStreamMap
putAllFiles
public void putAllFiles(Map<? extends String,? extends File> map)
- Specified by:
putAllFiles
in interface InputStreamMap
putAllStrings
public void putAllStrings(Map<? extends String,? extends String> map)
- Specified by:
putAllStrings
in interface InputStreamMap
putString
public InputStream putString(String key,
String value)
- Specified by:
putString
in interface InputStreamMap
putFile
public InputStream putFile(String key,
File value)
- Specified by:
putFile
in interface InputStreamMap
putBytes
public InputStream putBytes(String key,
byte[] value)
- Specified by:
putBytes
in interface InputStreamMap
put
public InputStream put(String key,
InputStream value)
- Specified by:
put
in interface Map<String,InputStream>
Copyright © 2009-2011 jclouds. All Rights Reserved.