org.apache.camel.component.file
Class FileMessage

java.lang.Object
  extended by org.apache.camel.impl.MessageSupport
      extended by org.apache.camel.impl.DefaultMessage
          extended by org.apache.camel.component.file.FileMessage
All Implemented Interfaces:
org.apache.camel.Message

public class FileMessage
extends org.apache.camel.impl.DefaultMessage

A Exchange for MINA

Version:
$Revision: 520985 $

Constructor Summary
FileMessage()
           
FileMessage(File file)
           
 
Method Summary
 FileExchange getExchange()
           
 File getFile()
           
 FileMessage newInstance()
           
 void setFile(File file)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.impl.DefaultMessage
createHeaders, getHeader, getHeader, getHeaders, populateInitialHeaders, setHeader, setHeaders
 
Methods inherited from class org.apache.camel.impl.MessageSupport
copy, createBody, getBody, getBody, setBody, setBody, setExchange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileMessage

public FileMessage()

FileMessage

public FileMessage(File file)
Method Detail

toString

public String toString()
Overrides:
toString in class org.apache.camel.impl.DefaultMessage

getExchange

public FileExchange getExchange()
Overrides:
getExchange in class org.apache.camel.impl.MessageSupport

getFile

public File getFile()

setFile

public void setFile(File file)

newInstance

public FileMessage newInstance()
Overrides:
newInstance in class org.apache.camel.impl.DefaultMessage


Copyright © 2007 Apache Software Foundation. All Rights Reserved.