I need to use PdfReader in Java to analyze the different object types within various files. These files are stored on a different server with a username and password, so to access a file, I'm creating an IFSFileInputStream, casting it as an InputStream, and giving that to PdfReader as a parameter. IFSFileInputStream and InputStream don't seem to have a problem with whitespace in the filename, but PdfReader chokes on it. I'm not allowed to change the filenames, so what can I do? I've tried replacing the whitespace with "%20", etc.
Here's the line of code creating the PdfReader object in case it helps: PdfReader reader = new PdfReader((InputStream)(new IFSFileInputStream(as400, filename))); Any help is greatly appreciated. -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfReader-and-filesnames-with-whitespace-tp3837866p3837866.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
