This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java and Adobe Acrobat

 
kevin schmidt
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was wondering if there was a way to retrieve the "document summary" from a pdf file using java? TIA.
Kevin
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know if either of these APIs provide for that ability, but they might:
1. iText - http://www.lowagie.com/iText/
2. FOP - http://xml.apache.org/fop/
 
kevin schmidt
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the links, but it's not what I'm looking for. I AM able to retrieve the document summary if I parse the pdf as a text file, but the information is at the end of the file, ans some of the files are 200k+. Is there a fast way in Java to parse to the end of a file to get information or maybe start the search at the end of file - 3k (if that makes sense)? I hope someone can help me. TIA again.
Kevin
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps RandomAccessFile is what you seek.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic