I am using Java. I have HTML text, I don’t have a file. I want to convert the RTF text to HTML text in memory. How can I do that? Can you please tell me the API class and method to use?
Thanks and regards,
String filename = "in.rtf";
InputStream in = new FileInputStream(MyDir + filename);
Document doc = new Document(in);
// Save the document to a OutputStream object.
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
thanks .that worked. thanks a lot.
One more question.
The HTML output from Aspose gives the following message at the beginning of the text:
“Evaluation Only. Created with Aspose.Words. Copyright 2003-2015 Aspose Pty Ltd.”
What do I have to do?