Versions Compared

Key

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

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.

Hint_designerPageDESIGNER:Filesystem AdapterTopicFilesystem 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

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

Panel
titleOn this Page:
Table of Contents
Panel
titleRelated Pages:

Otp
Floatingfalse

rp