Package org.apache.camel.component.xslt
Class FileResultHandler
- java.lang.Object
-
- org.apache.camel.component.xslt.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.
-
-
Constructor Summary
Constructors Constructor Description FileResultHandler(File file)
-
-
-
Constructor Detail
-
FileResultHandler
public FileResultHandler(File file)
-
-
Method Detail
-
getResult
public Result getResult()
- Specified by:
getResult
in interfaceResultHandler
-
setBody
public void setBody(org.apache.camel.Message in)
- Specified by:
setBody
in interfaceResultHandler
-
-