YaHP Converter is a Java library that can convert an HTML document into a PDF document.
YaHP is licensed under the LGPL (GNU).
Method Summary
void convertToPdf(java.lang.String content, IHtmlToPdfTransformer.PageSize size, java.util.List hf, java.lang.String urlForBase, java.io.OutputStream out)
Convert the document in content in a PDF file.
void convertToPdf(java.net.URL url, IHtmlToPdfTransformer.PageSize size, java.util.List hf, java.io.OutputStream out)
Convert the document pointed by url in a PDF file.
private java.net.URL copyToTemp(java.net.URL url)
Copy the file pointed to url in the temp directory
private void init()
initialize the classloader, and the transforme.
Product's homepage
Requirements:
· Java 2 Standard Edition Runtime Environment
What's New in This Release: [ read full changelog ]
· This version updates third party libraries to their latest or most compliant version: Flying Saucer 16/04/2011, iText 2.1.7, Apache Log4j 1.2.16, JTidy r938, Shanidom 1.4.17, and Jaxen 1.1.1.
· It removes the Apache Commons IO and Apache Commons Log libraries, which are not needed anymore.
· It removes extra calls in charge of adding a document producer, since they are no longer applicable, and gets rid of deprecated constants.
· The source code has moved to github.