In this section, We are discussing the conversion of text into html file .This program functionally provides you converting text to html file by using FileOutputStream. The FileOutputStream() is a constructor.
In this program, you will also learn about the OutputStreamWriter. The OutputStreamWriter is a constructor. The FileOutputStream create an output file stream to write to the file with the specified name.
Here is the code of this program:
Command prompt Output of this program.
This is text to html convertor program:
Output of this program.
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial