web stats
Mirth Community - View Single Post - Help converting rtf document to plain text
View Single Post
Old 03-25-2013, 07:00 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road

Originally Posted by seaston View Post
Does anyone have any suggestions as to how I might be able to convert a RTF document that I am extracting from an Oracle database using .getClob() to plain text for the receiving system which cannot handle rtf format?
Mirth Connect includes iText, so that may be your best bet. Though, you may also be able to just strip all RTF commands with a regular expression.
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.

- How do I foo?
- You just bar.
Reply With Quote