public class HTML2PDFParser extends HTML2MParser
documentFile, documentName, documentPath
Constructor and Description |
---|
HTML2PDFParser() |
Modifier and Type | Method and Description |
---|---|
PDFDocument |
getPdf() |
OutputStream |
getPdfFile() |
void |
parse(InputStream isDoc,
InputStream isHeadFirstPage,
InputStream isFootFirstPage,
InputStream isHead,
InputStream isFoot) |
void |
setFootFile(InputStream footFile) |
void |
setFootFileFirstPage(InputStream footFileFirstPage) |
void |
setHeadFile(InputStream headFile) |
void |
setHeadFileFirstPage(InputStream headFileFirstPage) |
void |
setPdfFile(OutputStream pdfFile)
Seta o(a) pdfFile
|
parse, parse, parse, setDocumentFile, setDocumentName, setDocumentPath
public void setFootFile(InputStream footFile)
footFile
- The footFile to set.public void setHeadFile(InputStream headFile)
headFile
- The headFile to set.public void setFootFileFirstPage(InputStream footFileFirstPage)
public void setHeadFileFirstPage(InputStream headFileFirstPage)
public void parse(InputStream isDoc, InputStream isHeadFirstPage, InputStream isFootFirstPage, InputStream isHead, InputStream isFoot) throws UnsupportedEncodingException
UnsupportedEncodingException
public OutputStream getPdfFile()
public void setPdfFile(OutputStream pdfFile)
OutputStream
- pdfFile.public PDFDocument getPdf()
Copyright © 2015. All rights reserved.