Class PrintURLs
java.lang.Object
org.apache.pdfbox.examples.pdmodel.PrintURLs
This is an example of how to access a URL in a PDF document.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static PDActionURIgetActionURI(PDAnnotation annot) static voidThis will output all URLs and the texts in the annotation rectangle of a document.private static voidusage()This will print out a message telling how to use this example.
-
Constructor Details
-
PrintURLs
private PrintURLs()Constructor.
-
-
Method Details
-
main
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.
-
getActionURI
-
usage
private static void usage()This will print out a message telling how to use this example.
-