Public Member Functions

nsILineInputStream Interface Reference

import "nsILineInputStream.idl";

List of all members.

Public Member Functions

boolean readLine (out ACString aLine)
 Read a single line from the stream, where a line is a possibly zero length sequence of 8bit chars terminated by a CR, LF, CRLF, LFCR, or eof.

Member Function Documentation

boolean nsILineInputStream::readLine ( out ACString  aLine  ) 

Read a single line from the stream, where a line is a possibly zero length sequence of 8bit chars terminated by a CR, LF, CRLF, LFCR, or eof.

The line terminator is not returned.

Return values:
false End of file. This line is the last line of the file (aLine is valid).
true The file contains further lines.
Note:
Do not mix readLine with other read functions. Doing so can cause various problems and is not supported.

The documentation for this interface was generated from the following file: