@mozilla.org/network/file-output-stream;1

This component implements the following interfaces:

Constants

PRInt32 nsISeekableStream.NS_SEEK_SET = 0
PRInt32 nsISeekableStream.NS_SEEK_CUR = 1
PRInt32 nsISeekableStream.NS_SEEK_END = 2

Methods

InterfaceMethod
nsIOutputStream void close ( )
nsIOutputStream void flush ( )
nsIFileOutputStream void init ( nsIFile file , PRInt32 ioFlags , PRInt32 perm , PRInt32 behaviorFlags )
nsIOutputStream PRBool isNonBlocking ( )
nsISeekableStream void seek ( PRInt32 whence , PRInt64 offset )
nsISeekableStream void setEOF ( )
nsISeekableStream PRInt64 tell ( )
nsIOutputStream PRUint32 write ( char* buf , PRUint32 count )
nsIOutputStream PRUint32 writeFrom ( nsIInputStream fromStream , PRUint32 count )
nsIOutputStream [noscript] PRUint32 writeSegments ( nsReadSegmentFun reader , voidPtr* closure , PRUint32 count )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com