login about faq
5
1

I'm looking for a Java library that could help me read pdf files. Any suggestions? Thanks.

asked Oct 22 '09 at 10:14

Domhz%20Sumhz's gravatar image

Domhz Sumhz
1295

edited Oct 22 '09 at 10:59

Erol's gravatar image

Erol
1.3k1416


I haven't personally had the need to read PDFs (always just writing them), but if I had to I'd probably try Apache PDFBox.

link

answered Oct 22 '09 at 10:22

Alistair%20A.%20Israel's gravatar image

Alistair A. Israel
3.1k210

There's the venerable IText, and it's .NET port (ie IText Sharp)

link

answered Oct 22 '09 at 11:33

bonskijr's gravatar image

bonskijr
35117

Isn't IText more suited for writing PDF files rather than reading them?

(Oct 22 '09 at 12:08) Erol Erol's gravatar image

Yup, I think most pdf lib concentrate on writing, but it wouldn't be complete without reading. For IText it has the PdfReader class for that.

http://www.1t3xt.info/api/com/lowagie/text/pdf/PdfReader.html

(Oct 23 '09 at 01:54) bonskijr bonskijr's gravatar image

A few years back I created a utility for reading PDFs, getting the ISBN and then organizing the PDFs based on the information retrieved from Amazon for that particular ISBN.

iText did the trick. :)

link

answered Jan 27 '10 at 02:07

paul_sns's gravatar image

paul_sns
1.7k117

I am not sure what you mean exactly by "reading PDF document".

IText can load PDF documents and do some manipulation on the documents.

But, have you looked at Qoppa Java PDF library products? It's a suite of java libraries to create, manipulate and also render PDF documents. So if by reading you meant render, you will find libraries to convert PDF documents to images, print them or display them in visual components.

link

answered Sep 21 '12 at 04:51

lilou's gravatar image

lilou
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×64
×2

Asked: Oct 22 '09 at 10:14

Seen: 1,193 times

Last updated: Sep 21 '12 at 04:51