- Reading metadata occurs on files that already exist - Writing metadata can only occur on PDDocuments that are in progress - The tests are fairly simple, but it may be worth building out PDFs separately with another app/tool instead of using the same tool-chain to test with
(merge-pdfs ..) will take a bunch of existing PDF files (string locations) and merge them into a single file. This CL contains some loose tests to make sure that a new file is generated of the relevant size. Added :pre conditions for some of the public API functions to fail-fast rather than let pdfbox do all of the IO lifting.
Simple usage of a map key lookup.