nsIFileStreams interface is an input stream that allows you to read from a file.
Inherits from: nsISupports
| || ||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 |
| || ||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 |
void init( in nsIFile file, in long ioFlags, in long perm, in long behaviorFlags );
- File to read from (must QI to
- File open flags listed in prio.h (see PR_Open documentation) or -1 to open the file in default mode (PR_RDONLY).
- File mode bits listed in prio.h or -1 to use the default value (0).
- Flags specifying various behaviors of the class (see enumerations in the class).