JPedal Java PDF Viewer logo

ADDING PDF SUPPORT TO JAVA

JPedal is written in 100% Java and does not need additional platform-specific native libraries to be installed. If it runs Java 8 or above, it runs JPedal.

JPedal allows you to search PDF files for any text String (and it can allow use Regular expressions). Search one
page or the whole Document and find any instances of the text – JPedal takes care of all the decoding and grouping
of the PDF data.

Searching PDF Files can be done in the Viewer or there is a separate example
to search as a server process. Alternatively you can convert a PDF into a whole list of keywords (with locations)
and provide a database index of the PDF file text content.

Key Features

 

  • Search for any text string
  • 100% Java and multi-platform
  • Fully automated
  • Support for regular expressions
  • Search all document pages or specific page range
  • XFA support
  • Highly configurable
  • Single Jar
  • Lots of tutorials and
    monthly new release

 

 

Quick Start

 

Here is a quick snippet of code which will allow you to find text in a PDF:

See the full Javadoc
or Download Trial Jar

Q & A

 

Q: Do you have any example Java code for PDF Text Search?

You can find a detailed tutorial on using JPedal for PDF text search by visiting this Tutorial.