Timeline for Write a collection of lines, with no newline at end of file
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2020 at 13:24 | history | edited | CommunityBot |
Commonmark migration
|
|
Dec 14, 2013 at 22:02 | history | edited | scand1sk | CC BY-SA 3.0 |
added 414 characters in body
|
Dec 14, 2013 at 21:58 | comment | added | scand1sk |
Well, you can still use the above structure, replacing references to StringBuilder by BufferedWriter . I edited my answer above to include the final code.
|
|
Dec 14, 2013 at 17:16 | comment | added | asteri |
You're right, I knew I could simply join the various String s together with \n as you suggest. But when writing to a file with BufferedWriter , you're supposed to use newLine() instead because it's system agnostic.
|
|
Dec 14, 2013 at 16:19 | review | First posts | |||
Dec 14, 2013 at 16:29 | |||||
Dec 14, 2013 at 16:04 | history | edited | scand1sk | CC BY-SA 3.0 |
deleted 3 characters in body
|
Dec 14, 2013 at 15:59 | history | answered | scand1sk | CC BY-SA 3.0 |