Difference between revisions of "Extensions.File.CreateTempDirectory"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
== OTL Syntax == | == OTL Syntax == | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | /// Local Declarations | |
+ | String StringVariable = ""; | ||
+ | /// Flow | ||
+ | StringVariable = File.CreateTempDirectory(); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 02:43, 25 October 2018
Classification
Name | CreateTempDirectory |
Short Description | Creates a new unique temporary directory |
Class | Term |
Extension | OTX File extension |
Group | File related Terms |
Exceptions | FileSaveException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
/// Local Declarations
String StringVariable = "";
/// Flow
StringVariable = File.CreateTempDirectory();
Description
The CreateTempDirectory activity creates a new unique temporary directory and returns the URI of the path, which is either absolute or relative to OTX home. The OTX runtime environment has to deliver such directory and has to ensure that the user has read and write access to the content of that directory. After finishing the execution of the OTX runtime, the temporary directory will be deleted automatically with all its contents.
Properties
- NONE
OTL Examples
/// Local Declarations
String String1 = "";
/// Flow
String1 = File.CreateTempDirectory();
See also
GetFilePath
GetFilesFromDirectory
GetFileSize
IsDirectory
IsEndOfFileReached
IsFile
OpenFileForRead
OpenFileForWrite
ReadBytes
ReadFile
ReadLine