File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

adding to files

 
Tersa
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how do i add something to files so that the old data is not overwrited??
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use
FileOutputStream(String name, boolean append)
or
FileWriter(String name, boolean append)
with true as the second argument.
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tersa,
Thank you for changing your name from COOL angel! However, according to the naming policy, you must have a first and a last name. It doesn't have to be your real last name, just a real looking one. Please head over here and make this last change.
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic