• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Urgent! Help Needed...Dealing with rtf in Java

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic