org.apache.camel.component.file.remote
Class RemoteFileMessage

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

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


Constructor Summary
RemoteFileMessage()
           
RemoteFileMessage(String hostname, String fullFileName, OutputStream outputStream)
           
 
Method Summary
protected  Object createBody()
           
 RemoteFileExchange getExchange()
           
 String getFullFileName()
           
 String getHostname()
           
 OutputStream getOutputStream()
           
 RemoteFileMessage newInstance()
           
protected  void populateInitialHeaders(Map<String,Object> map)
           
 void setFullFileName(String fullFileName)
           
 void setHostname(String hostname)
           
 void setOutputStream(OutputStream outputStream)
           
 
Methods inherited from class org.apache.camel.impl.DefaultMessage
createHeaders, getHeader, getHeader, getHeaders, setHeader, setHeaders, toString
 
Methods inherited from class org.apache.camel.impl.MessageSupport
copy, copyFrom, getBody, getBody, getMessageId, setBody, setBody, setExchange, setMessageId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteFileMessage

public RemoteFileMessage()

RemoteFileMessage

public RemoteFileMessage(String hostname,
                         String fullFileName,
                         OutputStream outputStream)
Method Detail

getHostname

public String getHostname()

setHostname

public void setHostname(String hostname)

getFullFileName

public String getFullFileName()

setFullFileName

public void setFullFileName(String fullFileName)

getOutputStream

public OutputStream getOutputStream()

setOutputStream

public void setOutputStream(OutputStream outputStream)

getExchange

public RemoteFileExchange getExchange()
Specified by:
getExchange in interface org.apache.camel.Message
Overrides:
getExchange in class org.apache.camel.impl.MessageSupport

createBody

protected Object createBody()
Overrides:
createBody in class org.apache.camel.impl.MessageSupport

newInstance

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

populateInitialHeaders

protected void populateInitialHeaders(Map<String,Object> map)
Overrides:
populateInitialHeaders in class org.apache.camel.impl.DefaultMessage


Copyright © 2007 Apache Software Foundation. All Rights Reserved.