287
edits
No edit summary |
No edit summary |
||
| Line 70: | Line 70: | ||
*/ | */ | ||
nsIFile newFileWithPath(in AString filepath); | nsIFile newFileWithPath(in AString filepath); | ||
/** | |||
* Creates a URI object which implements nsIURI. The url argument may either | |||
* be a string or a file. | |||
* | |||
* @param url the url to create | |||
* @returns a new nsIURI object | |||
* @throws NS_ERROR_INVALID_ARG when aUri is null | |||
*/ | |||
nsIURI newURI(in nsIVariant aUri); | |||
/** | /** | ||
| Line 108: | Line 118: | ||
* The type may also be a null string to indicate no special type of | * The type may also be a null string to indicate no special type of | ||
* reading. In this case, the data from the stream is not interpreted in | * reading. In this case, the data from the stream is not interpreted in | ||
* any way. | * any way and just read as bytes. | ||
* | * | ||
* @param base the base object to read from | * @param base the base object to read from | ||
| Line 189: | Line 199: | ||
* the manner is which the stream is created. If no strings apply, use | * the manner is which the stream is created. If no strings apply, use | ||
* a null string. Possible values are: | * a null string. Possible values are: | ||
* block - when reading from a transport such as a socket, an attempt to | * block - when reading from a transport such as a socket, an attempt to | ||
* read from the stream while there is no data available will wait | * read from the stream while there is no data available will wait | ||
edits