От Javadocчтение строки в BufferedReader
public String readLine()
throws IOException
Read a line of text. A line is considered to be terminated by any one of a line feed ('\n'), a carriage return ('\r'), or a carriage return followed immediately by a linefeed.
Я следующий вид текста:
Now the earth was formless and empty. Darkness was on the surface
of the deep. God's Spirit was hovering over the surface
of the waters.
Я читаю строки, как:
while(buffer.readline() != null){
}
Но, проблема его рассматривает строку для строки вверх до новой строки. Но я хотел бы рассмотреть строку, когда строка заканчивается .
. Как мне это сделать?