MCPcopy Index your code
hub / github.com/apache/pdfbox / loadPDF

Method loadPDF

pdfbox/src/main/java/org/apache/pdfbox/Loader.java:168–171  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers 15

testFormFeedMethod · 0.95
testOverflowMethod · 0.95
doTestFileMethod · 0.95
callMethod · 0.95
callMethod · 0.95
callMethod · 0.95
doItMethod · 0.95
callMethod · 0.95
callMethod · 0.95
callMethod · 0.95
callMethod · 0.95

Calls 3

parseMethod · 0.95
closeQuietlyMethod · 0.95

Tested by 15

testFormFeedMethod · 0.76
testOverflowMethod · 0.76
doTestFileMethod · 0.76
PDFBox4076Method · 0.76
loadDocumentMethod · 0.76
testSubsettingMethod · 0.76
testPDFBox5742Method · 0.76