org.pdfbox.examples.pdmodel
Class ReplaceURLs
java.lang.Object
org.pdfbox.examples.pdmodel.ReplaceURLs
public class ReplaceURLs
extends java.lang.Object
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.
static void | main(String[] args) - This will read in a document and replace all of the urls with
http://www.pdfbox.org.
|
main
public static void main(String[] args)
throws Exception
This will read in a document and replace all of the urls with
http://www.pdfbox.org.
see usage() for commandline
args
- Command line arguments.