| || ||If this is set, the file will be deleted by the time the stream is closed. It may be removed before the stream is closed if it is possible to delete it and still read from it. If OPEN_ON_READ is defined, and the file was recreated after the first delete, the file will be deleted again when it is closed again.|
| || ||If this is set, the file will close automatically when the end of the file is reached.|
| || ||If this is set, the file will be reopened whenever Seek(0) occurs. If the file is already open and the seek occurs, it will happen naturally. (The file will only be reopened if it is closed for some reason.)|
| || ||If this is set, the file will be opened (i.e., a call to |
Note: Using this flag results in the file not being opened during the call to
void init( in nsIFile file, in long ioFlags, in long perm, in long behaviorFlags );
- File to read from (must QI to
- The file status flags define how the file is accessed. See PR_Open documentation for more details. If set to -1 the file will be opened in default mode (
- File mode bits are described in the PR_Open documentation. If set to -1 the default value 0 will be used.
- Flags specifying various behaviors of the class (see enumerations in the class).