Nameishi Nameishi - 1 year ago 72
Java Question

Is it possible for the compiler to have a maximum on output?

[original text][1]

[results when i print out within Server Class][2]

In my Server Class I want to read each line of the text file, including empty lines but it starts in the middle of the file. I believe it has to do with the ecplise max output. I know because I get the correct output of bytes from each line.

Zhe Zhe
Answer Source

You need some kind of loop to iterate through the BufferedReader. If readLine() returns null, you're at the end of the stream and you can break out of the loop.

See API for BufferedReader.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download