Function |
Description |
---|---|
createAttachment |
Creates an attachment from an OS file. |
createFile |
Creates a file from an OS file. |
createOSFile |
Creates a temporary file with empty content. |
createTemporaryDirectory |
Creates a temporary directory. |
createTemporaryFile |
Creates a temporary file from an OS file. |
getOSFileInfo |
Generates information about an OS file. |
listOSFiles |
Lists the contents of an OS directory. |
loadOSFile |
Loads the contents of an OS file into a String. |
Takes the path name to an OS file and optionally the name of the attachment to be created. Returns a Biskit of type Attachment.
Takes the name of the directory the file should be in and the full path name to an OS file. Returns a Biskit of type Attachment.
Takes information to define the file to be created. This could be the name of the file, the name of the directory for the file, or a suffix and prefix to create a randomly named file. Also may be defined are where the contents are to come from, (Attachment, Biskit of type File, String). Returns a Biskit describing the file that has been created.
Creates a temporary directory that will automatically be deleted at the end of handling the current Workflow. Takes the prefix to apply to the name of the created directory and optionally the parent directory of the one to be created. Returns a Biskit describing the directory that has been created.
Creates a temporary file form an OS file, that will automatically be deleted at the end of handling the current Workflow. Takes the filePath or attachment that points at the file to be converted to a temporary file. Also the prefix and suffix of the temporary files name. Returns a Biskit describing the temporaryFile that has been created.
Takes the path to the file to be examined. Returns a Biskit describing the file of type OSFileInfo.
Takes the path to the directory to be examined. Returns a list of Biskits describing the files of type OSFileInfo.
Takes the path to the file to be loaded. Returns the contents of the file in a String.