I want to write a new line using a FileOutputStream; I have tried the following approaches, but none of them are working:
FileOutputStream
encfileout.write(\'\\n
To add a line break use fileOutputStream.write(10); because decimal value 10 represents newline in ASCII