Hi! I have an issue where I have the data imported from a third party software to oracle tables. The text is stored into the oracle database with rtf tags (Rich text format). I need to convert this rtf based text to html or plain text (I have to preserve the formatting of the original rtf formatted text). I read about the rtf editor in Java.Swing but it handles only documents. Anybody knows a way where I can read the text having the rtf tags from oracle tables and change it to html or plain formatted text and store it back to the oracle tables using Java. I would really appreciate if somebody can help me ASAP. Thanks in advance!!
Look again at the editor kit ... it populates documents. It can read any stream and populate a document. So you don't have to have any special source for the data, just anything you can pump into a stream. Then you can get the text back out of the document. Google for java editorkit examples and I bet you'll find something that helps make sense of it all. Let us know what you find!
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi