code: public int readLine(Text str, int maxLineLength) throws IOException {
      return readLine(str, maxLineLength, Integer.MAX_VALUE);
  }
docs: Read from the InputStream into the given Text.
  @param str the object to store the given line
  @param maxLineLength the maximum number of bytes to store into str.
  @return the number of bytes read including the newline
  @throws IOException if the underlying stream throws