This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IO streams

 
shiju rp
Greenhorn
Posts: 2
  • 0
  • 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
  • 0
  • 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: 3340
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic