• Post Reply Bookmark Topic Watch Topic
  • New Topic

question  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
can you tell me how to convert a formated text files into an
html file using swing.
 
Grant Crofton
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's just a plain text file you want to convert, you just need to read it in and output it with a few tags in - you need to put <HTML><BODY> (& whatever) at the start, and then just put a
every time you come across a newline character, and a couple more tags at the end.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!