@Converter(generateLoader=true) public final class JcloudsPayloadConverter extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
convertTo(Class<T> type,
org.apache.camel.Exchange exchange,
Object value,
org.apache.camel.spi.TypeConverterRegistry registry) |
protected static org.jclouds.io.Payload |
setContentMetadata(org.jclouds.io.Payload payload,
org.apache.camel.Exchange exchange) |
static org.jclouds.io.Payload |
toPayload(byte[] bytes) |
static org.jclouds.io.Payload |
toPayload(File file) |
static org.jclouds.io.Payload |
toPayload(InputStream is,
org.apache.camel.Exchange exchange) |
static org.jclouds.io.Payload |
toPayload(org.apache.camel.util.xml.StreamSourceCache cache,
org.apache.camel.Exchange exchange) |
static org.jclouds.io.Payload |
toPayload(StreamSource source,
org.apache.camel.Exchange exchange) |
static org.jclouds.io.Payload |
toPayload(String str) |
static org.jclouds.io.Payload |
toPayload(String str,
org.apache.camel.Exchange ex) |
@Converter public static org.jclouds.io.Payload toPayload(byte[] bytes)
@Converter public static org.jclouds.io.Payload toPayload(String str, org.apache.camel.Exchange ex) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static org.jclouds.io.Payload toPayload(String str) throws UnsupportedEncodingException
UnsupportedEncodingException@Converter public static org.jclouds.io.Payload toPayload(File file)
protected static org.jclouds.io.Payload setContentMetadata(org.jclouds.io.Payload payload,
org.apache.camel.Exchange exchange)
@Converter public static org.jclouds.io.Payload toPayload(InputStream is, org.apache.camel.Exchange exchange) throws IOException
IOException@Converter public static org.jclouds.io.Payload toPayload(StreamSource source, org.apache.camel.Exchange exchange) throws IOException
IOException@Converter
public static org.jclouds.io.Payload toPayload(org.apache.camel.util.xml.StreamSourceCache cache,
org.apache.camel.Exchange exchange)
throws IOException
IOExceptionApache Camel