| Constructor and Description |
|---|
FileContentWrapper(Object content,
org.mule.runtime.api.message.MuleEvent event,
MuleContext muleContext)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(FileContentVisitor visitor)
Accepts the given
visitor |
public FileContentWrapper(Object content, org.mule.runtime.api.message.MuleEvent event, MuleContext muleContext)
content - the content to be wrappedpublic void accept(FileContentVisitor visitor) throws Exception
visitorvisitor - a FileContentVisitorIllegalArgumentException - if the content is of a type not accepted by the visitorException - if the visitation failedCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.