src/main/java/com/github/wnameless/io/reader/parallel/LineReader.java
/**
   * Reads a line from either a {@link File} or a {@link Reader}.
   * 
   * @return a String contains the content of a line
   * @throws IOException
   *           if an I/O Exception happened during reading
   */
Reads a line from either a  File or a  Reader.

@return a String contains the content of a line
@throws IOException
if an I/O Exception happened during reading
Reads a line from either a File or a Reader . @return a String contains the content of a line @throws IOException if an I / O Exception happened during reading
public String readLine() throws IOException {
    String line = peek;
    if (line != null && currentLine < maxLines) {
      currentLine++;
      if (currentLine < maxLines) {
        peek = br.readLine();
      } else {
        peek = null;
      }
      return line;
    }
    return null;
  }
public String readLine ( ) throws IOException { String line = peek ; if ( line != null && currentLine < maxLines ) { currentLine ++ ; if ( currentLine < maxLines ) { peek = br . readLine ( ) ; } else { peek = null ; } return line ; } return null ; }
Reads a line from either a {@link File} or a {@link Reader}.
Reads a line from either a { @link File } or a { @link Reader } .