org.apache.camel.component.exec
Class ExecResultConverter
java.lang.Object
org.apache.camel.component.exec.ExecResultConverter
@Converter
public final class ExecResultConverter
- extends Object
Default converters for ExecResult
. For details how to extend the
converters check out the Camel docs for type
converters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
convertToInputStream
@Converter
public static InputStream convertToInputStream(ExecResult result)
throws FileNotFoundException
- Throws:
FileNotFoundException
convertToByteArray
@Converter
public static byte[] convertToByteArray(ExecResult result,
org.apache.camel.Exchange exchange)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
convertToString
@Converter
public static String convertToString(ExecResult result,
org.apache.camel.Exchange exchange)
throws FileNotFoundException
- Throws:
FileNotFoundException
convertToDocument
@Converter
public static Document convertToDocument(ExecResult result,
org.apache.camel.Exchange exchange)
throws FileNotFoundException
- Throws:
FileNotFoundException
Apache Camel