> What extension for this file? .java
> How to execute him(it) php there?If you want to convert a local html file:
client.convertFile("MyDocument.html", fileStream);
If you want to convert a web page
client.convertFile("http://example.com", fileStream);