File Properties
The properties defined in the File class are summarized in the following table.
Property | Description |
---|---|
allowReplace | Specifies if a file can be overwritten |
endOfField | Contains the end of field string that delimits variable-length fields |
endOfLine | Contains the endOfLine string that delimits variable-length records (or lines) |
kind | Contains the kind of file that is to be opened |
maxIOSize | Contains the maximum size in bytes for I/O operations when reading and writing a file |
maxRecordSize | Contains the maximum size in file units of a buffer that can be read from a text file |
mode | Contains the mode in which a file is accessed |
recordSize | Contains the size in characters of a fixed‑length record |
shareMode | Restricts access to the file by other processes |
unicodeBOM | Specifies whether a Unicode Byte Order Mark (BOM) is present in the file |