The File Adapter is provided as part of the Sun Java Composite Application Platform Suite and operates as follows:
As an inbound adapter, the File Adapter polls an input directory for files based on a file name matching a specified regular expression. When the adapter detects a matching file, it opens the file and publishes the data to a Collaboration or Business Process Service.
As an outbound adapter, the File Adapter writes processed data to an output file.