Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Write Error for multiple lines using OutputStream

 
Nishiru San
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I am new to Groovy and Java. The following code reads from a file and writes to new file . But if the source file is having multiple lines I am getting Write error. Kindly Help

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic