This can't be as hard as I seem to be making it, but I can't figure out how to get a rendition into a format I can work with. What I'm trying to do is locate pdf renditions and check to see if they in the PDF/A-1b standard. To do that I'm using Apache's PDFBox preflight to check the standard.
I need to pass PDFBox a File, a DataSource or a file name. So I need to grab the pdf rendition and make it into a file. The best I've been able to do is create a ByteArrayInputStream from the content, but then I'd need to go through the whole mess of creating a File from that. Isn't there an easier way?
Any help would be much appreciated.