| Author |
How to add newline in a textfile using dataouputstream in java
|
C.R.Ram Kumar
Greenhorn
Joined: Jul 26, 2010
Posts: 1
|
|
Hi
Any one can solve my problem
I want to add a new line in my textfile using dataoutputstream.
It is possible ?
Thank You . .
|
 |
Pramod P Deore
Ranch Hand
Joined: Jul 15, 2008
Posts: 629
|
|
Hi C.R.Ram Kumar Welcome to JavaRanch.
DataOutputStream writes binary files. If you want to insert new line then you must have to use Writer.
|
Life is easy because we write the source code.....
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
|
|
Please use the code button and avoid coloured text. Since you are new, I have edited your post and you can see how much better it looks
|
 |
 |
|
|
subject: How to add newline in a textfile using dataouputstream in java
|
|
|