• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how read PDF file from java app in struts

 
sameer kumar
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

Can anyone please advise me on reading PDF file. I only want to read text part of it from my application. i tried using PJX from Etymon inc, but failed. NO significant help is available online to use this Jar.

Please help me in using PJX, or suggest any other utility which has proper documentation.

Regards
sameer
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PDF is a hard to read format. The best you can do is extract the text from it. If that's good enough for your purposes, check out JPedal.
[ February 17, 2006: Message edited by: Ulf Dittmer ]
 
sameer kumar
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello Ulf,

Thanks a lot for recommendation. JPEDAL seems to be a great utility.

I need to extract only text from PDF. Can you give me some code example to how to do it using JPEDAL

Regards
sameer
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sameer-

I don't seem to have noticed it before, but apparently you missedthat JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.

As to your question, check the examples that you can download in the same spot where you can download jpedal itself.
[ February 21, 2006: Message edited by: Ulf Dittmer ]
 
Kerry Wilson
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know of a PDF Text Extraction library that doesn't cost $500 for a single JVM license?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's wrong with JPedal?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look carefully at the information the the Jpedal home page, you'll see that the open source version does include text extraction, and it's free. It's the enterprise edition that costs $500.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic