BlobStore@Deprecated public interface InputStreamMap extends ListableMap<String,InputStream>
org.jclouds.aws.s3.domain.S3Bucket. Provides additional methods for
inserting common object types.
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.| Modifier and Type | Interface and Description |
|---|---|
static interface |
InputStreamMap.Factory
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
putAllBytes(Map<? extends String,byte[]> map)
Deprecated.
|
void |
putAllFiles(Map<? extends String,? extends File> map)
Deprecated.
|
void |
putAllStrings(Map<? extends String,? extends String> map)
Deprecated.
|
InputStream |
putBytes(String key,
byte[] value)
Deprecated.
|
InputStream |
putFile(String key,
File value)
Deprecated.
|
InputStream |
putString(String key,
String value)
Deprecated.
|
listInputStream putString(String key, String value)
InputStream putFile(String key, File value)
InputStream putBytes(String key, byte[] value)
Copyright © 2009-2013 jclouds. All Rights Reserved.