The standard way to get PDDocumentInformation and PDDocumentCatalog is
through the following code:
PDDocument doc = PDDocument.load(inputStream);
PDDocumentInformation info = doc.getDocumentInformation();
PDDocumentCatalog cat = doc.getDocumentCatalog();
What I want to do with PDF file is only to get properties such as the number
of pages and the modification date. I don't need anything else. And I often
need to parse some big PDF files. It seems that the above code loads the
whole input stream for PDF file. Is there a faster way to get these
properties? Thanks.
--
Jingguo