|
void | close (T file) |
| Closes the given file and releases all resources associated with it. More...
|
|
boolean | exists (String path) |
| Tests for the existence of a file at the given path. More...
|
|
char | getOsSeparator () |
| Returns the system specific directory separator. More...
|
|
T | open (String path, String ioMode) |
| Open a new file with a given path. More...
|
|
◆ close()
Closes the given file and releases all resources associated with it.
- Parameters
-
file | The file instance previously created by Open(). |
◆ exists()
Tests for the existence of a file at the given path.
- Parameters
-
- Returns
- true if there is a file with this path, else false.
◆ getOsSeparator()
Returns the system specific directory separator.
- Returns
- System specific directory separator
◆ open()
Open a new file with a given path.
When the access to the file is finished, call close() to release all associated resources
- Parameters
-
path | Path to the file |
ioMode | file I/O mode. Required are: "wb", "w", "wt", "rb", "r", "rt". |
- Returns
- AiIOStream or null if an error occurred
The documentation for this interface was generated from the following file: