|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
FileToByteArray to get a
byte[] from the file beeing parsed and then transform it to a
String with the correct encoding.
FileConnector is used for setting up listeners on a directory
and for writing files to a directory.FileContentsMessageAdapter provides a wrapper for file data.FileEndpointBuilder File uris need some special processing
because the uri path can be any length, and the default resolver relies on a
particular path formatFileMessageAdapter provides a wrapper for a file reference.FileMessageDispatcher is used to read/write files to the
filesystem andFileMessageDispatcherFactory creaes a dispatcher responsible for writing files to diskFileMessageReceiver is a polling listener that reads files
from a directory.FileToByteArray reads the contents of a file as a byte arrayFileToString reads file contents into a string.FilenameParser is a simple expression parser interface for
processing filenamesFilenameWildcardFilter Filters the incoming files from the
read From directory, based on file patternsSimpleFilenameParser understands a limited set of tokens,
namely
${DATE} : the currrent date in the format dd-MM-yy_HH-mm-ss.SS
${DATE:yy-MM-dd} : the current date using the specified format
${SYSTIME} : The current system time milliseconds
${UUID} : A generated Universally unique id
${ORIGINALNAME} : The origial file name if the file being written was
read from another location
${COUNT} : An incremental counter
Note that square brackets can be used instead of curl brackets, this is
useful when defining the file output pattern in a Mule Url endpointUri where
the curl bracket is an invalid character.
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||