Michael, thanks for your prompt response.
I've already adopted an anonymous wrapper instance of BufferedInputStream
that override the *close* method.
What is confusing me is the JavaDoc sentence in PdfReader class:
/**
* Reads and parses a PDF document.
* @param is the <CODE>InputStream</CODE> containing the document. The
stream is read to the
* end but is not closed
* @throws IOException on error
*/
But now you confirm me that this is a correct work-around.
Bye
Andrea
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/PdfReader-close-the-given-InputStream-tp4660430p4660432.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
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