org.apache.camel.component.file
Class FileExchange

java.lang.Object
  extended by org.apache.camel.impl.DefaultExchange
      extended by org.apache.camel.component.file.FileExchange
All Implemented Interfaces:
Exchange

public class FileExchange
extends DefaultExchange

A Exchange for File

Version:
$Revision: 520985 $

Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultExchange
context
 
Constructor Summary
FileExchange(CamelContext camelContext, File file)
          Constructor
 
Method Summary
 File getFile()
           
 void setFile(File file)
           
 
Methods inherited from class org.apache.camel.impl.DefaultExchange
configureMessage, copy, copyFrom, createInMessage, createOutMessage, getContext, getException, getExchangeId, getFault, getIn, getOut, getOut, getProperties, getProperty, getProperty, newInstance, setException, setExchangeId, setFault, setHeaders, setIn, setOut, setProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileExchange

public FileExchange(CamelContext camelContext,
                    File file)
Constructor

Parameters:
camelContext -
file -
Method Detail

getFile

public File getFile()
Returns:
the file

setFile

public void setFile(File file)
Parameters:
file - the file to set


Copyright © 2007 Apache Software Foundation. All Rights Reserved.