org.apache.camel.builder.xml
Class FileResultHandler
java.lang.Object
org.apache.camel.builder.xml.FileResultHandler
- All Implemented Interfaces:
- ResultHandler
public class FileResultHandler
- extends Object
- implements ResultHandler
Use file to handle the result of XSLT transformation.
For example when transforming big files you can stream directly to a file output
to avoid consuming to much memory.
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileResultHandler
public FileResultHandler(File file)
getResult
public Result getResult()
- Specified by:
getResult
in interface ResultHandler
setBody
public void setBody(Message in)
- Specified by:
setBody
in interface ResultHandler
Apache CAMEL