Mostafa Mahmoud wrote:
> How can I Get Input Stream from pdfReader object ?

You might want to rephrase that question,
because it sounds rather absurd the way it is now.

You define which file PdfReader should read.
That's the InputStream of PdfReader.
Then you use PdfReader in combination with
PdfCopy or PdfStamper. Both are constructed
using an OutputStream.

For instance: if you create a PdfReader,
then a PdfStamper, and you don't do anything
with both, the InputStream of the PdfReader
is sent to the OutputStream of PdfStamper.

Of course it's nonsense to do something like that,
if you don't want to change something along the way.
If you just want an InputStream from a PDF file,
you can use plain java.io classes.

br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to