Versions Compared

Key

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

...

Parameters of Action "read"

NameTypeDirectionDescription
nameStringin

Fully qualified file name of the file you want to read, including the path.

Multiexcerpt
MultiExcerptNamehint_backslash_in_path
Note
iconfalse

When using the Windows style with backward slashes "\" you have to be aware that you have escape this character. The escape character is also the "\".
To avoid this, use forward slashes with Windows as well.

positionIntegerinPosition (in Bytes) from which you want to start reading the file.
lengthIntegerin/outLength (in Bytes) of the snippet of the file you want to read. The actual length of the read data is given back (e.g. on file end).
dataBloboutContent that has been read.

Multiexcerpt include
MultiExcerptNameread
PageWithExcerptFile System

Defining a "read" Action

To read a file with the file system adapter, you need to define a read action on an action having the stereotype <<FileSystemAdapter>>. You can do this manually or with the help of the E2E xUML Action Wizard (see context menu of the action node).

...

The path and file name of the file you want to access are 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: FileAlias). 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.

Properties of the File System Adapter Action

...

Alternatively, you also could use the E2E xUML Action Wizard (see context menu of the action node).