org.apache.camel.builder.xml
Class FileResultHandlerFactory
java.lang.Object
org.apache.camel.builder.xml.FileResultHandlerFactory
- All Implemented Interfaces:
- ResultHandlerFactory
public class FileResultHandlerFactory
- extends Object
- implements ResultHandlerFactory
Factory for StreamResult which is streamed to file.
- Version:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileResultHandlerFactory
public FileResultHandlerFactory()
createResult
public ResultHandler createResult(Exchange exchange)
throws Exception
- Description copied from interface:
ResultHandlerFactory
- Creates the
ResultHandler to use
- Specified by:
createResult in interface ResultHandlerFactory
- Parameters:
exchange - the current exchange
- Returns:
- the result handler
- Throws:
Exception
Apache Camel