Class RemoveFirstPage
java.lang.Object
org.apache.pdfbox.examples.pdmodel.RemoveFirstPage
This is an example on how to remove pages from a PDF document. Do not use this tool if other
pages link to this one or if your document has a structure tree for accessibility unless you are
able to fix these as well. In such cases it is better to use the splitter() class which will do
these fixes.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RemoveFirstPage
private RemoveFirstPage()
-
-
Method Details
-
main
This will print the documents data.- Parameters:
args- The command line arguments.- Throws:
IOException- If there is an error parsing the document.
-
usage
private static void usage()This will print the usage for this document.
-