Search:

Type: Posts; User: copeg

Search: Search took 0.11 seconds.

  1. Re: why does this code read an html file uncontinuously

    Look closely at your original while code - every call to readLine moves the pointer in the file forward to the next line


    while ( myBuffer.readLine() != null ){///reads line and moves the pointer...
  2. Re: why does this code read an html file uncontinuously

    Based on the assumption myBuff is a Reader (aka BufferedReader), every time you call readLine it reads the line and moves the pointer to the next, and as is the while loop skips over every other line...
Results 1 to 2 of 2