• Post Reply Bookmark Topic Watch Topic
  • New Topic

have to write in new line  RSS feed

 
Priya Baskar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a program to read data from a file & write into another file. File should be in xml format. I need to write each tag in new line. How to implement this?
 
Abdulla Mamuwala
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you considered looking at the newLine() method of the BufferedWriter. Have fun!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!