public class Bpdf extends Object
| Constructor and Description |
|---|
Bpdf() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPdf(String filename,
String passwd)
Creates a PDF document.
|
void |
decryptPdf(String src,
String dest,
String passwd)
Manipulates a PDF file src with the file dest as result
|
void |
encryptPdf(String src,
String dest,
String passwd)
Manipulates a PDF file src with the file dest as result
|
public void createPdf(String filename, String passwd) throws IOException, com.itextpdf.text.DocumentException
filename - the path to the new PDF documentpasswd - the input Passwordcom.itextpdf.text.DocumentExceptionIOExceptionpublic void decryptPdf(String src, String dest, String passwd)
src - the original PDFdest - the resulting PDFpasswd - the input PasswordIOExceptioncom.itextpdf.text.DocumentExceptionpublic void encryptPdf(String src, String dest, String passwd)
src - the original PDFdest - the resulting PDFpasswd - the input PasswordIOExceptioncom.itextpdf.text.DocumentExceptionCopyright © 2016 openBaraza. All Rights Reserved.