public class InputStreamMapImpl extends BaseBlobMap<InputStream> implements InputStreamMap
BlobMap
instead.BlobStore
,
InputStreamMap
,
BaseBlobMap
BaseBlobMap.Entry
InputStreamMap.Factory
Modifier and Type | Field and Description |
---|---|
protected Crypto |
crypto |
blobstore, containerName, containsValueStrategy, getAllBlobs, listStrategy, options, pathStripper, prefixer, putBlobsStrategy
Constructor and Description |
---|
InputStreamMapImpl(BlobStore connection,
Provider<BlobBuilder> blobBuilders,
GetBlobsInListStrategy getAllBlobs,
ListContainerAndRecurseThroughFolders listStrategy,
ContainsValueInListStrategy containsValueStrategy,
PutBlobsStrategy putBlobsStrategy,
String containerName,
ListContainerOptions options,
Crypto crypto) |
Modifier and Type | Method and Description |
---|---|
InputStream |
get(Object o) |
InputStream |
put(String key,
InputStream value) |
void |
putAll(Map<? extends String,? extends InputStream> map) |
void |
putAllBytes(Map<? extends String,? extends byte[]> map) |
void |
putAllFiles(Map<? extends String,? extends File> map) |
void |
putAllStrings(Map<? extends String,? extends String> map) |
InputStream |
putBytes(String key,
byte[] value) |
InputStream |
putFile(String key,
File value) |
InputStream |
putString(String key,
String value) |
InputStream |
remove(Object o) |
Collection<InputStream> |
values() |
clear, containsKey, containsValue, entrySet, getAllBlobs, isEmpty, keySet, list, size, stripPrefix, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
list
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, size
protected final Crypto crypto
@Inject public InputStreamMapImpl(BlobStore connection, Provider<BlobBuilder> blobBuilders, GetBlobsInListStrategy getAllBlobs, ListContainerAndRecurseThroughFolders listStrategy, ContainsValueInListStrategy containsValueStrategy, PutBlobsStrategy putBlobsStrategy, String containerName, ListContainerOptions options, Crypto crypto)
public InputStream get(Object o)
get
in interface Map<String,InputStream>
public InputStream remove(Object o)
remove
in interface Map<String,InputStream>
public Collection<InputStream> values()
values
in interface Map<String,InputStream>
public void putAll(Map<? extends String,? extends InputStream> map)
putAll
in interface Map<String,InputStream>
public void putAllBytes(Map<? extends String,? extends byte[]> map)
putAllBytes
in interface InputStreamMap
public void putAllFiles(Map<? extends String,? extends File> map)
putAllFiles
in interface InputStreamMap
public void putAllStrings(Map<? extends String,? extends String> map)
putAllStrings
in interface InputStreamMap
public InputStream putString(String key, String value)
putString
in interface InputStreamMap
public InputStream putFile(String key, File value)
putFile
in interface InputStreamMap
public InputStream putBytes(String key, byte[] value)
putBytes
in interface InputStreamMap
public InputStream put(String key, InputStream value)
put
in interface Map<String,InputStream>
Copyright © 2009-2012 jclouds. All Rights Reserved.