public final class S3ContentUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
coalesce(T o0,
T o1) |
static S3ObjectContent |
createContent(Object content,
Long contentLength,
String contentMd5)
Creates the
S3ObjectContent . |
public static S3ObjectContent createContent(Object content, Long contentLength, String contentMd5)
S3ObjectContent
. If content is a String or file, the content length parameter is ignored. Also contentMD5 is ignored if content is a file, too.public static <T> T coalesce(T o0, T o1)
Copyright © 2010–2016. All rights reserved.