|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.transport.AbstractMessageAdapter
org.mule.transport.file.FileMessageAdapter
org.mule.transport.file.FileContentsMessageAdapter
public class 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.transport.file.FileMessageAdapter |
|---|
file, payload |
| Fields inherited from class org.mule.transport.AbstractMessageAdapter |
|---|
attachments, DEFAULT_FAILFAST, encoding, exceptionPayload, id, logger, properties |
| Fields inherited from interface org.mule.api.ThreadSafeAccess |
|---|
READ, WRITE |
| Constructor Summary | |
|---|---|
FileContentsMessageAdapter(FileContentsMessageAdapter template)
|
|
FileContentsMessageAdapter(Object message)
|
|
| Method Summary | |
|---|---|
Object |
getPayload()
|
org.mule.api.ThreadSafeAccess |
newThreadCopy()
|
| Methods inherited from class org.mule.transport.file.FileMessageAdapter |
|---|
getUniqueId, setFileMessage, setStreamMessage |
| Methods inherited from class org.mule.transport.AbstractMessageAdapter |
|---|
addAttachment, addInboundProperties, addProperties, assertAccess, clearProperties, getAttachment, getAttachmentNames, getBooleanProperty, getCorrelationGroupSize, getCorrelationId, getCorrelationSequence, getDoubleProperty, getEncoding, getExceptionPayload, getIntProperty, getLongProperty, getProperty, getProperty, getPropertyNames, getReplyTo, getStringProperty, isDisabled, newException, release, removeAttachment, removeProperty, resetAccessControl, setBooleanProperty, setCorrelationGroupSize, setCorrelationId, setCorrelationSequence, setDoubleProperty, setEncoding, setExceptionPayload, setIntProperty, setLongProperty, setProperty, 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.api.MessagingException
org.mule.api.MessagingExceptionpublic FileContentsMessageAdapter(FileContentsMessageAdapter template)
| Method Detail |
|---|
public Object getPayload()
getPayload in interface org.mule.api.transport.MessageAdaptergetPayload in class FileMessageAdapterpublic org.mule.api.ThreadSafeAccess newThreadCopy()
newThreadCopy in interface org.mule.api.ThreadSafeAccessnewThreadCopy in class FileMessageAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||