Hi,

Am 27.09.2013 18:57, schrieb Paulo Mello:
Thanks Andreas, but  get the PDDocument during a parser()

                File f = new File(pdfPath);
                FileInputStream is = null;
                is = new FileInputStream(f);

                PDDocument pdfDocument = null;
                PDFParser parser = new PDFParser(is);
                parser.parse();
                pdfDocument = parser.getPDDocument();


I dont use more the load method.
That's suboptimal ...

I dont understand why this exception occurs.
PS: I had not received the answer of my old question. sorry about that
OK, no problem

Can you help me with my way in this situation?
Without the pdf i question I can only guess.

Try the non-sequential parser instead of your code:

PDDocument pdfDocument = PDDocument.loadNonSeq(is, null);

Thank you a lot.

My oldest question i did not received
Paulo Mello
[email protected]
Tel: (11) 5591-2100 – Ramal 110
Rua dos Íris, 150 - Mirandópolis - São Paulo - SP
CEP: 04049-040
www.portaldedocumentos.com.br

SNIP


BR
Andreas Lehmkühler

Reply via email to