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.
Code Description:
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:
import java.math.*;
|
Command prompt Output of this program.
| C:\corejava>java TextToHTML This is text to html convertor program: C:\corejava> |
Output of this program.

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Convert Text to HTML View All Comments
Post your Comment