Inherits ScriptObject.
Static Public Member Functions | |
| static String | getCombinedPath (String rootPath, String relativePath) |
| static String | getFolderPath (String path) |
| static String | getFilename (String path) |
| static String | replaceExtension (String path, String extension) |
| static | makeFolder (String path) |
| static Boolean | isFolder (String path) |
| static Boolean | isFile (String path) |
| static | copyFile (String src, String dest) |
| static | moveFile (String src, String dest) |
| static | remove (String path) |
| static | removeFolder (String path) |
| static | removeFolderRecursive (String path) |
| static Integer | getFileSize (String path) |
| static String | getTemporaryFolder () |
| static String | getTemporaryFile (String prefix) |
This class provides access to the file system.
Security: Requires security level 0.
Copies the specified file from the source path to the destination path.
| src | The path of the source file. |
| dest | The path of the destination file. |
Returns the combined paths.
| rootPath | The tool path. |
| relativePath | The relative path. |
Returns the filename from specified path.
| path | The path. |
Returns the size of the specified file.
| path | The path of the file. |
Returns the path of the parent folder.
| path | The path. |
Returns the path of a new temporary file.
| prefix | The prefix of the file. |
|
static |
Returns the path of the primary temporary folder.
Returns true if the specified file exists.
| path | The path of the file. |
Returns true if the specified folder exists.
| path | The path of the folder. |
|
static |
Creates the specified folder.
| path | The path of the folder. |
Moves the specified file from the source path to the destination path.
| src | The path of the source file. |
| dest | The path of the destination file. |
|
static |
Removes the specified file.
|
static |
Removes the specified folder.
|
static |
Removes the specified folder recursively.