@Mojo(name="html2pdf")
public class Html2PdfMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
Html2PdfMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Comparator<java.io.File> |
createFileComparator()
Creates a comparator for sorting files in a file set.
|
void |
execute() |
protected org.w3c.dom.Document |
readInputFileAsDocument(java.io.File htmlFile)
Reads the input HTML file as a DOM document with XHTML input, performing conversion if necessary.
|
protected java.util.Comparator<java.io.File> createFileComparator()
protected org.w3c.dom.Document readInputFileAsDocument(java.io.File htmlFile)
throws org.apache.maven.plugin.MojoExecutionException
htmlFile - the HTML file to read.org.apache.maven.plugin.MojoExecutionException - if an error occurs.public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2014. All Rights Reserved.