public abstract class ObjectFetcher extends Object
| Constructor and Description |
|---|
ObjectFetcher() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
fetchMayBeSecure(AwsConfig config,
String bucket,
String key) |
static com.amazonaws.services.s3.model.S3Object |
fetchObject(com.amazonaws.services.s3.AmazonS3 client,
com.amazonaws.services.s3.model.GetObjectRequest request) |
static com.amazonaws.services.s3.model.ObjectMetadata |
fetchObjectMetadata(AwsConfig config,
String bucket,
String key) |
static InputStream |
fetchPartial(AwsConfig config,
String bucket,
String key,
long[] range) |
public static com.amazonaws.services.s3.model.ObjectMetadata fetchObjectMetadata(AwsConfig config, String bucket, String key)
public static com.amazonaws.services.s3.model.S3Object fetchObject(com.amazonaws.services.s3.AmazonS3 client,
com.amazonaws.services.s3.model.GetObjectRequest request)
public static InputStream fetchPartial(AwsConfig config, String bucket, String key, long[] range)
public static InputStream fetchMayBeSecure(AwsConfig config, String bucket, String key) throws IOException
IOExceptionCopyright © 2012–2017 Polyglotted Limited. All rights reserved.