org.apache.camel.builder.xml
Class FileResultHandler

java.lang.Object
  extended by 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:

Constructor Summary
FileResultHandler(File file)
           
 
Method Summary
 Result getResult()
           
 void setBody(Message in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileResultHandler

public FileResultHandler(File file)
Method Detail

getResult

public Result getResult()
Specified by:
getResult in interface ResultHandler

setBody

public void setBody(Message in)
Specified by:
setBody in interface ResultHandler


Apache CAMEL