Java BufferedReader Читать все строки
line = buffer.lines().collect(Collectors.joining());
Defiant Dove
line = buffer.lines().collect(Collectors.joining());