org.jclouds.blobstore
Interface InputStreamMap
- All Superinterfaces:
- ListableMap<String,InputStream>, Map<String,InputStream>
- All Known Implementing Classes:
- InputStreamMapImpl
public interface InputStreamMap
- extends ListableMap<String,InputStream>
Map view of an org.jclouds.aws.s3.domain.S3Bucket
. Provides additional methods for
inserting common object types.
Note
All put
operations will invoke
org.jclouds.aws.s3.domain.S3Object#generateETag
. By extension,
Map.put(Object, Object)
will result in the InputStream being converted to a byte array. For
this reason, do not use Map.put(Object, Object)
to store files. Use
putFile(String, File)
or S3ObjectMap
instead.
- Author:
- Adrian Cole
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
putString
InputStream putString(String key,
String value)
putFile
InputStream putFile(String key,
File value)
putBytes
InputStream putBytes(String key,
byte[] value)
putAllStrings
void putAllStrings(Map<? extends String,? extends String> map)
putAllBytes
void putAllBytes(Map<? extends String,? extends byte[]> map)
putAllFiles
void putAllFiles(Map<? extends String,? extends File> map)
Copyright © 2009-2011 jclouds. All Rights Reserved.