Breadcrumbs

Reading the Content of a Directory


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"

Error rendering macro 'multiexcerpt-include' : Page loading failed

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

static_reading_of_directories.png

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. 

Error rendering macro 'multiexcerpt' : Page loading failed


Related Pages: