RTF is supposedly a format with a published standard, so it is not surprising that a conversion library has been created. I found the following by searching at Google. It is from the comp.lang.java.softwaretools newsgroup dated Sept. 3
About ScroogeXS:
ScroogeXS for the
Java(tm) platform is a bean which can convert a small
subset of the RTF code to HTML.
It can be used to...
- easily let users build and modify Internet pages without knowledge of HTML
- automatically migrate large text archives from RTF to HTML
- build rich-media content management systems
Feature list:
- well-formed output using CSS
- high conversion speed
- supports many RTF "dialects"
- royalty-free, includes full source code
- also available for Borland(tm) Delphi(tm)
A ScroogeXS demo application is available on the BetaSoft download page at
http://www55.pair.com/betasoft/download.html. This demo version can not be installed as a JavaBean, it contains only an
executable JAR with the RTF to HTML converter.
ScroogeXS for the Java(tm) platform will be ready for public release soon.
If you want to be notified about the release date, please send an e-mail to
scroogexs@betabeans.de.
Greetings,
Michael Justin
BetaBeans - Freeware and Shareware JavaBeans(tm)
http://www.betabeans.de