Class | Description |
---|---|
Close |
Can be used to close a file object.
|
Copy |
Copies a file from a given location to another.
|
CreateNewFile |
Creates the file at the path specified in the File struct.
|
Delete |
Deletes a file from a given location.
|
Exists |
Can be used to check whether a file exists.
|
GetModifiedTime |
Retrieves the last modified time of the specified file.
|
GetName |
Retrieves the name of the file given by the struct.
|
IsDirectory |
Can be used to check whether a file is a directory.
|
IsReadable |
Determines whether the user has read access to the specified file.
|
IsWritable |
Determines whether the user has write access to the specified file.
|
ListFiles |
Lists the files in the specified directory.
|
Mkdirs |
This function creates the directory structure denoted by the given File struct.
|
Move |
Moves a file from a given location to another.
|
Open |
Gets the streams from a local file.
|
OpenChannel |
Native function to obtain channel.
|
Copyright © 2018 WSO2. All rights reserved.