Hi Mikeday,
For Validation I have converted a .pdf file in an inputstream and passed that in prince.convert(). It is returning true (file is getting converted to pdf but not same as the 1st pdf).
Is there a way to validate that if passed inputstream is from html then only convert to pdf other wise return false.
Means is there any way to specify document type.
I have set the setHtml(true);
For Validation I have converted a .pdf file in an inputstream and passed that in prince.convert(). It is returning true (file is getting converted to pdf but not same as the 1st pdf).
Is there a way to validate that if passed inputstream is from html then only convert to pdf other wise return false.
Means is there any way to specify document type.
I have set the setHtml(true);