This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes IO streams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "IO streams" Watch "IO streams" New topic

IO streams

shiju rp

Joined: Feb 24, 2001
Posts: 2
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

Joined: Oct 25, 2000
Posts: 124
Well as far as my knowledge say, u cannot save formatted data in a file .

Sandeep Jain

Try and Try Till u succeed<br /> <br />Sandeep Jain
Carl Trusiak

Joined: Jun 13, 2000
Posts: 3340
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:

I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
It is sorta covered in the JavaRanch Style Guide.
subject: IO streams
Similar Threads
How To Make JLabel automatically wrap to next line
WA #1.....word association
Eclipse error on compareTo(Date)
how to read tomcat logs?
Some clarification on inner classes pls