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:
Message

public class RemoteFileMessage
extends DefaultMessage


Constructor Summary
RemoteFileMessage()
           
RemoteFileMessage(String hostname, String fullFileName, String fileName, long fileLength, 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
addAttachment, createAttachments, createHeaders, getAttachment, getAttachmentNames, getAttachments, getHeader, getHeader, getHeaders, hasAttachments, hasPopulatedHeaders, populateInitialAttachments, removeAttachment, removeHeader, setAttachments, setHeader, setHeaders, toString
 
Methods inherited from class org.apache.camel.impl.MessageSupport
copy, copyFrom, createMessageId, getBody, 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,
                         String fileName,
                         long fileLength,
                         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 Message
Overrides:
getExchange in class MessageSupport

createBody

protected Object createBody()
Overrides:
createBody in class MessageSupport

newInstance

public RemoteFileMessage newInstance()
Overrides:
newInstance in class DefaultMessage

populateInitialHeaders

protected void populateInitialHeaders(Map<String,Object> map)
Overrides:
populateInitialHeaders in class DefaultMessage


Apache CAMEL