|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.providers.AbstractMessageAdapter
org.mule.providers.file.FileMessageAdapter
org.mule.providers.file.FileContentsMessageAdapter
FileContentsMessageAdapter provides a wrapper for file data. Users
can obtain the contents of the message through the payload property and can get
the filename and directory in the properties using PROPERTY_FILENAME and
PROPERTY_DIRECTORY.
| Field Summary |
| Fields inherited from class org.mule.providers.AbstractMessageAdapter |
attachments, encoding, exceptionPayload, id, logger, properties |
| Constructor Summary | |
FileContentsMessageAdapter(Object message)
|
|
| Method Summary | |
Object |
getPayload()
|
protected void |
setMessage(File message)
|
| Methods inherited from class org.mule.providers.file.FileMessageAdapter |
getPayloadAsBytes, getPayloadAsString, getUniqueId |
| Methods inherited from class org.mule.providers.AbstractMessageAdapter |
addAttachment, addProperties, clearProperties, convertToBytes, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getPayloadAsString, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, removeAttachment, removeProperty, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, setReplyTo, setStringProperty, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FileContentsMessageAdapter(Object message)
throws org.mule.umo.MessagingException
| Method Detail |
protected void setMessage(File message)
throws org.mule.umo.MessagingException
setMessage in class FileMessageAdapterorg.mule.umo.MessagingExceptionpublic Object getPayload()
getPayload in interface org.mule.umo.provider.UMOMessageAdaptergetPayload in class FileMessageAdapter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||