Class ReplaceURLs
java.lang.Object
org.apache.pdfbox.examples.pdmodel.ReplaceURLs
This is an example of how to replace a URL in a PDF document. This
will only replace the URL that the text refers to and not the text
itself.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReplaceURLs
private ReplaceURLs()Constructor.
-
-
Method Details
-
main
This will read in a document and replace all of the urls with http://pdfbox.apache.org.
see usage() for commandline- Parameters:
args- Command line arguments.- Throws:
IOException- If there is an error during the process.
-
usage
private static void usage()This will print out a message telling how to use this example.
-