IPdfConverter
public interface IPdfConverter
Declares functionality to convert PUB document into PDF document
Methods
Method | Description |
---|---|
convertToPdf(Document doc, String fileName) | Converts PUB document into PDF format and saves result as PDF file |
convertToPdf(Document doc, OutputStream outputStream) | Converts PUB document into PDF format and saves result in stream passed |
convertToPdf(Document doc, String fileName)
public abstract void convertToPdf(Document doc, String fileName)
Converts PUB document into PDF format and saves result as PDF file
Parameters:
Parameter | Type | Description |
---|---|---|
doc | Document | PUB document |
fileName | java.lang.String | name of PDF file |
convertToPdf(Document doc, OutputStream outputStream)
public abstract void convertToPdf(Document doc, OutputStream outputStream)
Converts PUB document into PDF format and saves result in stream passed
Parameters:
Parameter | Type | Description |
---|---|---|
doc | Document | PUB document |
outputStream | java.io.OutputStream | output stream |