public final class

S3ContentUtils

extends Object
java.lang.Object
   ↳ org.mule.module.s3.util.S3ContentUtils

Summary

Public Methods
static <T> T coalesce(T o0, T o1)
static S3ObjectContent createContent(Object content, Long contentLength, String contentMd5)
Creates the S3ObjectContent.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static T coalesce (T o0, T o1)

Parameters
o0
o1

public static S3ObjectContent createContent (Object content, Long contentLength, String contentMd5)

Creates the S3ObjectContent. If content is a String or file, the content length parameter is ignored. Also contentMD5 is ignored if content is a file, too.

Parameters
content
contentLength
contentMd5