at.gv.egiz.pdfas.utils
Class PDFASUtils
java.lang.Object
at.gv.egiz.pdfas.utils.PDFASUtils
public class PDFASUtils
- extends Object
- Author:
- tknall
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkReaderPermissions
public static void checkReaderPermissions(com.lowagie.text.pdf.PdfReader pdfReader)
throws PDFDocumentException
- Verifies that a document could be opened with full permissions.
- Parameters:
pdfReader - The PdfReader
- Throws:
PDFDocumentException - Thrown if document has not been opened with full permissions.
toFile
public static boolean toFile(byte[] data,
File file)
throws IOException
- Throws:
IOException
toFile
public static boolean toFile(InputStream inputStream,
File file)
throws IOException
- Throws:
IOException
checkDocumentPermissions
public static void checkDocumentPermissions(org.apache.pdfbox.pdmodel.PDDocument doc)
throws PDFDocumentException
- Throws:
PDFDocumentException
Copyright © 2006-2011. All Rights Reserved.