public class HTTPSaver extends Object implements IPDFSaver
notesBean.setPDFSaver (new HTTPSaver (saveURL));
Constructor and Description |
---|
HTTPSaver(URL saveURL)
Constructor that takes a URL to the script that will receive the file on a web server.
|
Modifier and Type | Method and Description |
---|---|
boolean |
save(PDFNotesBean notesBean,
String docName,
File pdfFile)
Implementation of the IPDFSaver.save method that sends the PDF file to the URL provided in the
constructor.
|
public HTTPSaver(URL saveURL)
saveURL
- The URL of the receiving script.public boolean save(PDFNotesBean notesBean, String docName, File pdfFile)