Back to index

lightning-sunbird  0.9+nobinonly
Package Functions | Package Attributes
LineReader Class Reference
Collaboration diagram for LineReader:
Collaboration graph
[legend]

List of all members.

Package Functions

 LineReader (BufferedReader reader)
String readLine () throws IOException
void close () throws IOException

Package Attributes

BufferedReader reader
long offset

Detailed Description

Definition at line 220 of file leaksoup.java.


Constructor & Destructor Documentation

LineReader.LineReader ( BufferedReader  reader) [inline, package]

Definition at line 224 of file leaksoup.java.

                                      {
        this.reader = reader;
        this.offset = 0;
    }

Member Function Documentation

void LineReader.close ( void  ) throws IOException [inline, package]

Definition at line 236 of file leaksoup.java.

                                    {
        reader.close();
    }

Here is the caller graph for this function:

String LineReader.readLine ( ) throws IOException [inline, package]

Definition at line 229 of file leaksoup.java.

                                         {
        String line = reader.readLine();
        if (line != null)
            offset += 1 + line.length();
        return line;
    }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 222 of file leaksoup.java.

BufferedReader LineReader.reader [package]

Definition at line 221 of file leaksoup.java.


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