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 "readLine"

Multiexcerpt include
MultiExcerptNamereadLine
PageWithExcerptFile System

Defining a "readLine" Action

To read a file line by line with the file system adapter, you need to define a readLine 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 a File Line by Line

Image Modified

The file content line is of the base type String and is stored in an output object named line. If line is not given back by the file system adapter (line=NULL), the end of file has been reached.

The path and file name of the file you want to access are defined in the component diagram.

Multiexcerpt include
MultiExcerptNamefile_system_alias
nopaneltrue
PageWithExcerptReading Files

Otp
Floatingfalse

Rp