Class PrintURLs

java.lang.Object
org.apache.pdfbox.examples.pdmodel.PrintURLs

public final class PrintURLs extends Object
This is an example of how to access a URL in a PDF document.
Author:
Ben Litchfield
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      This will output all URLs and the texts in the annotation rectangle of a document.
      see usage() for commandline
      Parameters:
      args - Command line arguments.
      Throws:
      IOException - If there is an error extracting the URLs.