java filewriter новая строка

fileWriter.write(System.lineSeparator());
Gifted Grouse