|
|||||||||||
| 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
FileMessageAdapter provides a wrapper for a file reference. Users
can obtain the contents of the message through the payload property and can get
the filename and directory in the properties using FileConnector.PROPERTY_FILENAME and
FileConnector.PROPERTY_DIRECTORY.
| Field Summary | |
protected File |
file
|
protected InputStream |
payload
|
| Fields inherited from class org.mule.providers.AbstractMessageAdapter |
attachments, DEFAULT_FAILFAST, encoding, exceptionPayload, id, logger, properties |
| Fields inherited from interface org.mule.impl.ThreadSafeAccess |
READ, WRITE |
| Constructor Summary | |
protected |
FileMessageAdapter(FileMessageAdapter template)
|
|
FileMessageAdapter(Object message)
|
| Method Summary | |
Object |
getPayload()
|
String |
getUniqueId()
|
org.mule.impl.ThreadSafeAccess |
newThreadCopy()
|
protected void |
setFileMessage(File message)
|
protected void |
setStreamMessage(org.mule.providers.file.FileMessageReceiver.ReceiverFileInputStream message)
|
| Methods inherited from class org.mule.providers.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 |
| Field Detail |
protected File file
protected InputStream payload
| Constructor Detail |
public FileMessageAdapter(Object message)
throws org.mule.umo.MessagingException
protected FileMessageAdapter(FileMessageAdapter template)
| Method Detail |
public Object getPayload()
protected void setFileMessage(File message)
throws org.mule.umo.MessagingException
org.mule.umo.MessagingException
protected void setStreamMessage(org.mule.providers.file.FileMessageReceiver.ReceiverFileInputStream message)
throws org.mule.umo.MessagingException
org.mule.umo.MessagingExceptionpublic String getUniqueId()
public org.mule.impl.ThreadSafeAccess newThreadCopy()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||