Linux Mac OSX Windows

Implemented by

 An output stream that lets you stream to a file.
[scriptable, uuid(e6f68040-c7ec-11d3-8cda-0060b0fc14a3)]
interface nsIFileOutputStream : nsIOutputStream

Methods

 @param file          - file to write to (must QI to nsILocalFile)
 @param ioFlags       - file open flags listed in prio.h
 @param perm          - file mode bits listed in prio.h
 @param behaviorFlags flags specifying various behaviors of the class
        (currently none supported)
void init(in nsIFile file, in long ioFlags, in long perm, in long behaviorFlags)