[iText-questions] [SPAM] Re: PdfReader close the given InputStream

2014-10-07 Thread mkl
Andrea, AndreaC. wrote What is confusing me is the JavaDoc sentence in PdfReader class: * @param is the CODE InputStream /CODE containing the document. The stream is read to the * end but is not closed That JavaDoc comment dates back to 2004, i.e. some 0.*.* version and has

[iText-questions] [SPAM] Re: PdfReader close the given InputStream

2014-10-06 Thread mkl
Andrea, AndreaC. wrote I'm very confused about the new * PdfRead * class version. ... It seems that now isn't possible to read through an InputStream without closing it. Is it correct? What I'm wrong? It's hard to contradict your source code references. Indeed, if you instantiate a