File - File access
Inherits: 
odaba::ObjectReferenceHandle
The class has been provided in order to support additional file access features especially from within OSI. When using other programming languages, it suggested to use language specific file support, which, usually, provides more enhanced features. The class supports files as well as directories, which are considered as specific kind of files.
Specialized file classes provide special support for binary and text file access based on Binary and String objects (TextFile, BinaryFile).
Function Groups
- 1. Administration - Administrative functions
- 4. Operation - Operations
Functions
- File - Constructor
- accessMode - Access mode
- assign - Assign file
- canAccess - Check file accessibility
- close - Close file handle
- copy - Copy file or directory
- currentDirectory - Current work directory
- directory - Get directory path
- erase - Erase file
- eraseDirectory - Erase directory
- exist - Does file or directory exist
- extension - Get file extension from file path
- fileName - Get file name from file path
- isDirectory - Does file path refer to a directory
- isFile - Does file path refer to a file
- isOpened - Is file opened
- lastModified - Timestamp for last file modification
- lastPosition - Last file position
- lock - Lock file positions
- locked - Is file area locked
- makeDirectory - Create new directory
- open - Open file
- operator= - Assign file
- path - File path
- permission - Change permissions
- rename - Rename file or directory
- size - Get file size
- tryErase - Check and erase file
- tryEraseDirectory - Check and erase directory
- unlock - Unlock file positions
- ~File - Destructor