This page explains the Filesystem Adapter in Bridge context. If you were looking for the same information regarding the PAS Designer, refer to Filesystem Adapter in the Designer guide.

Parameters of Action "readDirectory"

Defining a "readDirectory" Action

To read the content of a directory with the file system adapter, you need to define a readDirectory action on an action having the stereotype <<FileSystemAdapter>>. You can do this manually (refer to Figure: The Specification Dialog of the File System Adapter) or with the help of the E2E Action Wizard (see context menu of the action node).

Figure: Reading the Content of a Directory

The directory entries are stored in an array that must be called entries. Each directory entry is of type String.

The path of the directory you want to read from is defined in the component diagram. 

The link from the activity diagram to the physical information is established by an alias (in the present example: DirectoryAlias). See File System Components for more information on file system aliases.
For information on how to access a file or directory dynamically refer to Dynamic File Access.