WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/network/file-input-stream;1
This component implements the following interfaces:
Constants
Methods
| Interface | Method |
|---|---|
| nsIInputStream |
PRUint32 available ( )
|
| nsIInputStream |
void close ( )
|
| nsIFileInputStream |
void init ( nsIFile file , PRInt32 ioFlags , PRInt32 perm , PRInt32 behaviorFlags )
|
| nsIInputStream |
PRBool isNonBlocking ( )
|
| nsIInputStream |
[noscript] PRUint32 read ( charPtr* buf , PRUint32 count )
|
| nsILineInputStream |
PRBool readLine ( out ACString line )
|
| nsIInputStream |
[noscript] PRUint32 readSegments ( nsWriteSegmentFun writer , voidPtr* closure , PRUint32 count )
|
| nsISeekableStream |
void seek ( PRInt32 whence , PRInt64 offset )
|
| nsISeekableStream |
void setEOF ( )
|
| nsISeekableStream |
PRInt64 tell ( )
|
Reference documentation is generated from Mozilla's source.
