public interface IPDFSaver
PDFNotesBean.setPDFSaver
with an object that implements IPDFSaver.Modifier and Type | Method and Description |
---|---|
boolean |
save(PDFNotesBean notesBean,
String docName,
File pdfFile)
This method is called by
PDFNotesBean when the document needs to be
saved. |
boolean save(PDFNotesBean notesBean, String docName, File pdfFile)
PDFNotesBean
when the document needs to be
saved. It's default implementation, by PDFNotesBean, saves the document to a file.notesBean
- A reference to the PDFNotesBean object that holds the document. This object
has save methods to save the document to an OutputStream and to a file name. For further flexibility,
the PDFNotesBean also has a method to get the contents of the PDF document as a byte array.docName
- The name of the PDF document. The meaning of this name differs
according to how the document was opened.pdfFile
- If the document was opened from a file, this is a reference to the
File object. This parameter is null if the document was opened from a URL or from an
InputStream