Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 22.1a

...

Hint_designer

...

Classe2e-refDiv

...

Otp
Floatingfalse

Rp
PageDESIGNER:Filesystem Adapter
TopicFilesystem Adapter

Parameters of Action "readDirectory"

Multiexcerpt include
MultiExcerptNamereadDirectory
PageWithExcerptFile System

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

Image Modified

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. 

Multiexcerpt
MultiExcerptNamefile_system_alias

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.

Otp
Floatingfalse

Rp