Page History
Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Stereotype Attributes
DirectoryAliasDirectory Alias
Multiexcerpt | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
FileAliasFile Alias
Multiexcerpt | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
|
Parameters File Handling
read
|
File System Adapter
Attribute | Description | Allowed Values | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
alias | Specify the File or Directory alias the adapter should use to establish the connection. | any valid File or Directory alias | ||||||||
action |
| |||||||||
mode | If you are using an append operation, you need to select the corresponding mode. See append operation for detailed information. | append (default), overwrite |
Filesystem Adapter File Operations
append Operation
Multiexcerpt | ||
---|---|---|
| ||
You can use operation append in two modes:
|
append ( data : Blob, name : String, length : Integer )
Multiexcerpt | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
close Operation
close ( name : String )
Multiexcerpt | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
copy Operation
copy ( source : String, traget : String )
Multiexcerpt | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
read Operation
read ( name : String, position : Integer, length.in : Integer, data : Blob, length.out : Integer )
Multiexcerpt | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||
|
readLine Operation
readLine ( name : String, encoding : String, length : Integer, line : String )
Multiexcerpt | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
remove Operation
remove ( name : String )
Multiexcerpt | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||
|
append
MultiExcerptName | append_modes |
---|
You can use operation append in two modes:
rename Operation
readLine ( name : String, newName : String )
If mode is empty or set to append, the content stored in data will be appended to the file specified in name. If the file does not exist, it will be created.
If mode is set to overwrite, the file specified in name will be overwritten with the content stored in data. If the file does not exist, it will be created.
overwrite will only be applied to the first append. All subsequent appends (e.g. in a loop) automatically get mode append.
Multiexcerpt | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
|
status Operation
status ( name : String, size : Integer, type : String, accessTime : DateTime, creationTime : DateTime, modificationTime : DateTime )
Multiexcerpt | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||
|
write Operation
write ( data : Blob, name : String, position : Integer, length : Integer )
Multiexcerpt | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
Multiexcerpt | ||||||||||||
| ||||||||||||
|
remove
|
| |||
| |||
| |||
Name | Type | Direction | Description |
---|---|---|---|
source | String | in | Fully qualified file name of the file you want to copy, including the path. |
target | String | in | Fully qualified file name of the target file, including the path. |
close
|
Filesystem Adapter Directory Operations
createDirectory Operation
createDirectory ( name : String )
Multiexcerpt | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Multiexcerpt | ||||||||
| ||||||||
|
readDirectory Operation
readDirectory ( name : String, entries : String[] )
Multiexcerpt | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
createDirectory
Multiexcerpt | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
status
remove Operation
You can only remove an empty directory with the remove operation. In case the directory contains files or subfolders, use removeRecursively (see below).
remove ( name : String )
Multiexcerpt | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
removeRecursively Operation
removeRecursively ( name : String )
Multiexcerpt | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
status Operation
status ( name : String, type : String, size : Integer, accessTime : DateTime, creationTime : DateTime, modificationTime : DateTime )
Multiexcerpt include | ||||
---|---|---|---|---|
|
Otp | ||
---|---|---|
|
Rp |
---|