Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. @param input byte array that contains the document. org.apache.pdfbox.io.RandomAccessReadBuffer is used to read the data. @return loaded document @throws InvalidPasswordException If the PDF required a non-empty
(byte[] input)
| 166 | * @throws IOException In case of a reading or parsing error. |
| 167 | */ |
| 168 | public static PDDocument loadPDF(byte[] input) throws IOException |
| 169 | { |
| 170 | return Loader.loadPDF(input, ""); |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Parses a PDF. Unrestricted main memory will be used for buffering PDF streams. |