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

IO streams

 
shiju rp
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can I open a file in Ms Word Format and write formatted text using Streams.Or only unformatted text can be written in java?
 
Sandeep Jain
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Well as far as my knowledge say, u cannot save formatted data in a file .

------------------
Sandeep Jain
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can write the data out in any format you want. Especially if you use OutputStreams instead of Writers. It allows you to write the data byte by byte. However, you must fully understand the format that you are writing and ensure that your application meets those specifications. A copy of the specification for Word 97 documents can be found here: http://www.wotsit.org/download.asp?f=word8
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic